Skip to content

Commit 062696e

Browse files
committed
Revert hard code TAG
1 parent 7c30bcd commit 062696e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/publish-to-pypi-on-new-tag.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Publish to PyPI on new release
33
on:
44
release:
55
types: [published]
6-
workflow_dispatch:
76

87
jobs:
98
publish:
@@ -14,7 +13,7 @@ jobs:
1413
contents: read
1514
steps:
1615
- run: |
17-
TAG="find-project-root-2.1.1"
16+
TAG="${{ github.event.release.tag_name }}"
1817
PROJECT="${TAG%-*}"
1918
echo "PROJECT=$PROJECT" >> $GITHUB_ENV
2019
- uses: actions/checkout@v6.0.2

0 commit comments

Comments
 (0)