diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9d597dee..9e7c3c39 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }} @@ -40,4 +40,7 @@ jobs: major=${BASH_REMATCH[1]} # update major tag git tag -f "$major" - git push -f origin "$major" \ No newline at end of file + 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" \ No newline at end of file