Skip to content

Commit

Permalink
fix: changes increment technique
Browse files Browse the repository at this point in the history
  • Loading branch information
VannaDii committed Dec 14, 2023
1 parent 4095b56 commit 7f67524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
IFS=. read -r v1 v2 v3 <<< "${LATEST_TAG}" # split into (integer) components
echo "LATEST_TAG=${LATEST_TAG}"
echo "LATEST_VERSION=${v1}.${v2}.${v3}"
((v3++)) # do the math
v3=$((v3 + 1)) # do the math
echo "NEXT_VERSION=${v1}.${v2}.${v3}"
echo "LATEST_TAG=${v1}.${v2}.${v3}" >> $GITHUB_ENV
Expand Down

0 comments on commit 7f67524

Please sign in to comment.