File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,21 +20,21 @@ jobs:
2020 - name : Create and push tag if on prod branch
2121 if : github.ref == 'refs/heads/prod'
2222 run : |
23- git fetch
24- VERSION=$(poetry version -s)
2523 git config --local user.email "[email protected] " 2624 git config --local user.name "GitHub Action"
25+ git remote set-url origin https://${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}
26+ VERSION=$(poetry version -s)
2727 git tag $VERSION
28- git push https://${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}.git $VERSION
28+ git push origin $VERSION
2929
3030 - name : Create and push test tag if on test branch
3131 if : github.ref == 'refs/heads/test'
3232 run : |
33- git fetch
3433 git config --local user.email "[email protected] " 3534 git config --local user.name "GitHub Action"
35+ git remote set-url origin https://${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}
3636 git tag testvers
37- git push https://${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}.git testvers
37+ git push origin testvers
3838
3939 - name : Install Pandoc
4040 run : |
You can’t perform that action at this time.
0 commit comments