File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,15 @@ jobs:
1717 run : |
1818 curl -sSL https://install.python-poetry.org | python -
1919
20- - name : Create and push tag on prod branch
21- if : github.ref == 'refs/heads/test '
20+ - name : Create and push tag if on prod branch
21+ if : github.ref == 'refs/heads/prod '
2222 run : |
23+ git fetch --unshallow
2324 VERSION=$(poetry version -s)
2425 git config --local user.email "[email protected] " 2526 git config --local user.name "GitHub Action"
2627 git tag $VERSION
27- git push origin $VERSION
28+ git push https://${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}.git $VERSION
2829
2930 - name : Install Pandoc
3031 run : |
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " openprotein_python"
33packages = [{include = " openprotein" }]
4- version = " 0.1.2b2 "
4+ version = " 0.1.2 "
55description = " OpenProtein Python interface."
66license = " MIT"
77readme = " README.md"
You can’t perform that action at this time.
0 commit comments