Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
saranagaoka authored Dec 7, 2023
1 parent a8f6fc9 commit 09d7f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
NEW_VERSION="${VERSION_PARTS[0]}.${VERSION_PARTS[1]}.${VERSION_PARTS[2]}"
NEW_TAG="$VERSION_PREFIX$NEW_VERSION"
if git rev-parse "$NEW_TAG" >/dev/null 2>&1; then
while git rev-parse "$NEW_TAG" >/dev/null 2>&1; do
until ! git rev-parse "$NEW_TAG" >/dev/null 2>&1; do
VERSION_PARTS[2]=$((VERSION_PARTS[2] + 1))
NEW_VERSION="${VERSION_PARTS[0]}.${VERSION_PARTS[1]}.${VERSION_PARTS[2]}"
NEW_TAG="$VERSION_PREFIX$NEW_VERSION"
Expand Down

0 comments on commit 09d7f9e

Please sign in to comment.