File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 ! git rev-parse ${{ env.VERSION }} || { echo "Ensure that no tag exists for ${{ env.VERSION }}" ; exit 1; }
3737 - name : Set version number
3838 run : sed -i "s/__version__ =.*/__version__ = '${{ env.VERSION }}'/g" freezegun/__init__.py
39+ - name : Increase patch version number
40+ run : |
41+ git config --local user.email "6058517+bblommers@users.noreply.github.com"
42+ git config --local user.name "FreezeGun Admin"
43+ git add freezegun/__init__.py
44+ git commit -m "Increase version number"
45+ git push
3946 - name : Build Python
4047 run : python -m build
4148 - name : Publish to PyPI
5057 name : ${{ env.VERSION }}
5158 tag_name : ${{ env.VERSION }}
5259 files : dist/*
53- - name : Increase patch version number
54- if : ${{ inputs.current_release }}
55- run : |
56- git config --local user.email "6058517+bblommers@users.noreply.github.com"
57- git config --local user.name "FreezeGun Admin"
58- git add freezegun/__init__.py
59- git commit -m "Increase version number"
60- git push
You can’t perform that action at this time.
0 commit comments