Skip to content

Commit 0ada486

Browse files
committed
Fix pypi public action tag
1 parent fa6d5b2 commit 0ada486

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ name: Release
33
on:
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
126

137
concurrency:
148
group: release
@@ -33,7 +27,7 @@ jobs:
3327

3428
- name: Set version statically
3529
run: |
36-
VERSION="${{ github.event.release.tag_name }}${{ inputs.tag_name }}"
30+
VERSION=${{ github.event.release.tag_name }}
3731
sed -i "s/setup_requires=.*/version='$VERSION',/; s/use_scm_version=.*//" setup.py
3832
echo "Version: $VERSION"
3933
@@ -133,7 +127,7 @@ jobs:
133127
id-token: write
134128
environment:
135129
name: pypi
136-
url: https://pypi.org/project/python-minifier/${{ github.event.release.tag_name }}${{ inputs.tag_name }}
130+
url: https://pypi.org/project/python-minifier/${{ github.event.release.tag_name }}
137131
steps:
138132
- name: Download distribution artifacts
139133
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)