Skip to content

Commit

Permalink
Fix tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai Selivanov committed Feb 26, 2024
1 parent 132fbf6 commit 23cab7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
run: |
lastTag=$(git describe --tags --abbrev=0)
currentTag=$(git tag --contains)
if [ "$lastTag" = "$currentTag" ]
if [ "$lastTag" != "$currentTag" ]
then
git tag ${{ env.newVersion }}
git push --tags
Expand Down

0 comments on commit 23cab7a

Please sign in to comment.