@@ -19,10 +19,10 @@ jobs:
1919 - name : Install Build Tools
2020 run : |
2121 python -m pip install build wheel
22- - name : Increment Version
22+ - name : Remove alpha (declare stable)
2323 run : |
2424 VER=$(python setup.py --version)
25- python scripts/bump_build .py
25+ python scripts/remove_alpha .py
2626 - name : " Generate release changelog"
2727 uses : heinrichreimer/github-changelog-generator-action@v2.3
2828 with :
3131 - name : Commit to dev
3232 uses : stefanzweifel/git-auto-commit-action@v4
3333 with :
34- commit_message : Increment Version
34+ commit_message : Declare alpha stable
3535 branch : dev
3636 - name : Push dev -> master
3737 uses : ad-m/github-push-action@master
5858 - name : Build Distribution Packages
5959 run : |
6060 python setup.py bdist_wheel
61+ - name : Prepare next Build version
62+ run : echo "::set-output name=version::$(python setup.py --version)"
63+ id : alpha
64+ - name : Increment Version ${{ steps.alpha.outputs.version }}Alpha0
65+ run : |
66+ VER=$(python setup.py --version)
67+ python scripts/bump_build.py
68+ - name : Commit to dev
69+ uses : stefanzweifel/git-auto-commit-action@v4
70+ with :
71+ commit_message : Prepare Next Version
72+ branch : dev
6173 - name : Publish to Test PyPI
6274 uses : pypa/gh-action-pypi-publish@master
6375 with :
0 commit comments