File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 2222 pip install --upgrade wheel
2323 - name : Create wheel
2424 run : python setup.py bdist_wheel --universal
25+ - name : Determine new version string
26+ id : release_version
27+ run : echo ::set-output name=VERSION::$(echo ${GITHUB_REF:10})
28+ - name : Archive changelog
29+ run : |
30+ mv changelogs/current.txt changelogs/${{ steps.release_version.VERSION }}.txt
31+ echo -n -e "\n" > changelogs/current.txt
2532 - name : Publish 📦 to PyPI
2633 uses : pypa/gh-action-pypi-publish@release/v1
2734 with :
3340 body_path : changelogs/current.txt
3441 env :
3542 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36- - name : Determine new version string
37- run : echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
38- - name : Archive changelog
39- run : |
40- mv changelogs/current.txt changelogs/${{ env.RELEASE_VERSION }}.txt
41- echo -n -e "\n" > changelogs/current.txt
4243 - name : Push archived changelog
4344 uses : EndBug/add-and-commit@v7
4445 with :
You can’t perform that action at this time.
0 commit comments