66
All checks were successful
Deploy Production / Deploy to Staging (push) Has been skipped
Go Linter / Build golang services (api_gateway) (push) Has been skipped
Go Linter / Push Docker Images (api_gateway) (push) Has been skipped
Go Linter / Run golangci-lint (api_gateway) (push) Has been skipped
Go Linter / Tag Commit (push) Successful in 5s
All checks were successful
Deploy Production / Deploy to Staging (push) Has been skipped
Go Linter / Build golang services (api_gateway) (push) Has been skipped
Go Linter / Push Docker Images (api_gateway) (push) Has been skipped
Go Linter / Run golangci-lint (api_gateway) (push) Has been skipped
Go Linter / Tag Commit (push) Successful in 5s
This commit is contained in:
@@ -173,12 +173,12 @@ jobs:
|
||||
NEW_PATCH=$((PATCH + 1))
|
||||
NEW_TAG="v${MAJOR}.${MINOR}.${NEW_PATCH}"
|
||||
|
||||
echo "NEW_TAG=$NEW_TAG" >> $GITHUB_OUTPUT
|
||||
|
||||
if git ls-remote --tags origin "refs/tags/$NEW_TAG" | grep -q "$NEW_TAG"; then
|
||||
echo "Tag $NEW_TAG already exists remotely, skipping tag creation"
|
||||
echo "NEW_TAG=" >> $GITHUB_OUTPUT
|
||||
echo "TAG_EXISTS=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "NEW_TAG=$NEW_TAG" >> $GITHUB_OUTPUT
|
||||
echo "TAG_EXISTS=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user