From fc9c828813849599757028b7910b1809d3560a1c Mon Sep 17 00:00:00 2001 From: Santiago Bernhardt Date: Wed, 28 Sep 2022 11:52:27 +1300 Subject: [PATCH 1/2] bug --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9d597dee..b57444a7 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 }} From 6ef82dff4403feb83164115b3dfdfbf2c3278d3c Mon Sep 17 00:00:00 2001 From: Santiago Bernhardt Date: Wed, 28 Sep 2022 12:08:56 +1300 Subject: [PATCH 2/2] add also vX tag --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b57444a7..9e7c3c39 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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