We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d70680b commit 4dc8ae0Copy full SHA for 4dc8ae0
.github/workflows/publish.yml
@@ -35,8 +35,19 @@ jobs:
35
- name: Build distribution
36
run: poetry build
37
38
+ - name: Bump to version
39
+ run: poetry run make version version=${{ github.ref_name }}
40
+
41
+ - name: Commit new version
42
+ run: |
43
+ git config --global user.name 'BumpVersion[CI]'
44
+ git config --global user.email '[email protected]'
45
+ git commit -am "Update version to ${{ github.ref_name }}"
46
+ git push
47
48
- name: Publish distribution to PyPI
- run: poetry publish
49
50
+ echo "will publish ${poetry version}"
51
env:
52
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
53
0 commit comments