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 11name : Release
22
3- on : [push]
3+ on :
4+ release :
5+ types : [released]
46
57concurrency :
68 group : release
1820
1921 - name : Set version statically
2022 run : |
21- VERSION=2.8.1
23+ VERSION=${{ github.event.release.tag_name }}
2224 sed -i "s/setup_requires=.*/version='$VERSION',/; s/use_scm_version=.*//" setup.py
2325
2426 - name : Build package
4850 permissions :
4951 id-token : write
5052 environment :
51- name : test- pypi
53+ name : pypi
5254 url : https://pypi.org/project/python-minifier/
5355 steps :
5456 - uses : actions/download-artifact@v3
5961 - name : Publish package distributions to PyPI
6062 uses : pypa/gh-action-pypi-publish@release/v1
6163 with :
62- repository-url : https://test.pypi.org/legacy/
6364 print-hash : true
6465 verbose : true
6566
You can’t perform that action at this time.
0 commit comments