Skip to content

Commit

Permalink
Merge pull request #191 from anothrNick/fix/bumper
Browse files Browse the repository at this point in the history
  • Loading branch information
sammcj authored Sep 28, 2022
2 parents 437f70e + 6ef82df commit e7d5838
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: version-tag
id: tag
uses: anothrNick/github-tag-action@1 # another pr require to move this to 1
uses: anothrNick/github-tag-action@1.47.0 # if we use 1 there is a too-be-fixed bug https://github.com/anothrNick/github-tag-action/actions/runs/3139501775/jobs/5099976842#step:1:35
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -40,4 +40,7 @@ jobs:
major=${BASH_REMATCH[1]}
# update major tag
git tag -f "$major"
git push -f origin "$major"
git push -f origin "$major"
# add vX as 1 is linked to short sha bug https://github.com/anothrNick/github-tag-action/actions/runs/3139501775/jobs/5099976842#step:1:35
git tag -f "v$major"
git push -f origin "v$major"

0 comments on commit e7d5838

Please sign in to comment.