File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2525 - name : Determine new version string
2626 id : release_version
2727 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
3228 - name : Publish 📦 to PyPI
3329 uses : pypa/gh-action-pypi-publish@release/v1
3430 with :
@@ -40,10 +36,15 @@ jobs:
4036 body_path : changelogs/current.txt
4137 env :
4238 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39+ - name : Archive changelog
40+ run : |
41+ mv changelogs/current.txt changelogs/${{ steps.release_version.VERSION }}.txt
42+ echo -n -e "\n" > changelogs/current.txt
4343 - name : Push archived changelog
4444 uses : EndBug/add-and-commit@v7
4545 with :
4646 add : changelogs
4747 author_name : Github Actions
4848 author_email : automations@github-actions.com
49+ branch : master
4950 message : ' Archive changelog'
You can’t perform that action at this time.
0 commit comments