Skip to content

Commit f6a0564

Browse files
authored
undo temp changes
temporarily changed the variable tag_ver, most likely action was stuck due to an aborted and immediately changed tag (because of typo). Prob GH var was lost during this. However should be tested with a test release
1 parent 891ceb3 commit f6a0564

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/pypi-publish.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: PyPI
22

3-
on: workflow_dispatch
4-
#release:
5-
# types: [published]
3+
on:
4+
release:
5+
types: [published]
66

77
jobs:
88
pypi-publish:
@@ -18,7 +18,6 @@ jobs:
1818
run: |
1919
pkg_ver="$(python setup.py -V)"
2020
tag_ver="${GITHUB_REF##*/}"
21-
tag_ver="v1.1.0"
2221
echo "Package version is $pkg_ver" >&2
2322
echo "Tag version is $tag_ver" >&2
2423
if [ "v$pkg_ver" != "$tag_ver" ]; then

0 commit comments

Comments
 (0)