File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ name: Release
33on :
44 release :
55 types : [released]
6+ workflow_dispatch :
7+ inputs :
8+ tag_name :
9+ description : " The tag to release"
10+ required : true
11+ type : string
612
713concurrency :
814 group : release
2733
2834 - name : Set version statically
2935 run : |
30- VERSION=${{ github.event.release.tag_name }}
36+ VERSION=" ${{ github.event.release.tag_name }}${{ inputs.tag_name }}"
3137 sed -i "s/setup_requires=.*/version='$VERSION',/; s/use_scm_version=.*//" setup.py
3238 echo "Version: $VERSION"
3339
@@ -127,7 +133,7 @@ jobs:
127133 id-token : write
128134 environment :
129135 name : pypi
130- url : https://pypi.org/project/python-minifier/${{ github.event.release.tag_name }}
136+ url : https://pypi.org/project/python-minifier/${{ github.event.release.tag_name }}${{ inputs.tag_name }}
131137 steps :
132138 - name : Download distribution artifacts
133139 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments