File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,16 @@ jobs:
1818 - name : Get version
1919 run : |
2020 echo "version=$(date +'%Y.%m.%d.%H.%M')" >> "$GITHUB_ENV"
21- - run : |
22- git tag $version
23- git push origin $version
24- pip install poetry
25- poetry self add poetry-dynamic-versioning[plugin]
26- poetry install --sync
27- poetry build
28- gh release create --generate-notes $version ./dist/*
21+ - name : Tag and release
22+ env :
23+ GH_TOKEN : ${{ github.token }}
24+ run : |
25+ git tag $version
26+ git push origin $version
27+ pip install poetry
28+ poetry self add poetry-dynamic-versioning[plugin]
29+ poetry install --sync
30+ poetry build
31+ gh release create --generate-notes $version ./dist/*
2932 - name : Publish package distributions to PyPI
3033 uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments