Skip to content

Commit

Permalink
sadsd
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Lord committed Jul 8, 2024
1 parent cfc738d commit 11a4475
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/autotag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ jobs:
- name: Get version
run: |
version=$(git log --pretty=oneline -1 | grep -oP 'release: \K[0-9.]+')
if [ -n "$version" ]; then echo VERSION=$version >> $GITHUB_ENV ; fi
if [ -n "$version" ]; then echo VERSION=$version >> $GITHUB_ENV; fi
# create & push tag
- name: Create & push tag
if: ${{ env.VERSION }} != ''
run: |
git tag v$VERSION
git push origin v$VERSION

0 comments on commit 11a4475

Please sign in to comment.