Skip to content

Commit

Permalink
fix: wrong version incrementing
Browse files Browse the repository at this point in the history
  • Loading branch information
shiipou authored Jun 13, 2023
1 parent b0b4781 commit 8d7a064
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,12 @@ runs:
if [ "$level" -eq "3" ]; then
# Increment major version tag
echo $(( major_version++ )) >> /dev/null
minor_version=0
patch_version=0
elif [ "$level" -eq "2" ]; then
# Increment minor version tagc
echo $(( minor_version++ )) >> /dev/null
patch_version=0
elif [ "$level" == "1" ]; then
# Increment patch version tag
echo $(( patch_version++ )) >> /dev/null
Expand Down

0 comments on commit 8d7a064

Please sign in to comment.