Skip to content

Commit c642916

Browse files
authored
Fixed Python tag in publish-release.yml (#11)
1 parent fa3fd5a commit c642916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
FROM=${{ matrix.py3from }}
136136
TO=${{ matrix.py3to }}
137137
sed -i 's/^python-requires = .*/python-requires = "$FROM>=,<$TO"/' pyproject.toml
138-
tags=$(for i in $(seq ${FROM//./} $(( ${TO//./} - 1)) ); do echo -n "py$i."; done | sed 's/\.$//')
138+
tags=$(for i in $(seq ${FROM//3./} $(( ${TO//3./} - 1)) ); do echo -n "py3$i."; done | sed 's/\.$//')
139139
echo "[tool.distutils.bdist_wheel]" >> pyproject.toml
140140
echo "python-tag = \"$tags\"" >> pyproject.toml
141141
echo pyproject.toml

0 commit comments

Comments
 (0)