Skip to content

Commit 9b8e733

Browse files
committed
📝Inform about deprecation of master branch
This patch suggests the users to use `release/v1`. Resolves #83
1 parent 1bbe3c9 commit 9b8e733

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

twine-upload.sh

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
set -Eeuo pipefail
33

44

5+
echo \
6+
::warning file='# >>' PyPA publish to PyPI GHA'%3A' \
7+
UNSUPPORTED GITHUB ACTION VERSION \
8+
'<< ':: \
9+
You are using '"pypa/gh-action-pypi-publish@master"'. \
10+
The '"master"' branch of this project has been sunset and will not \
11+
receive any updates, not even security bug fixes. Please, make \
12+
sure to use a supported version. If you want to pin to v1 major \
13+
version, use '"pypa/gh-action-pypi-publish@release/v1"'. If you \
14+
feel adventurous, you may opt to use use \
15+
'"pypa/gh-action-pypi-publish@unstable/v1"' instead. A more \
16+
general recommendation is to pin to exact tags or commit shas.
17+
18+
519
if [[
620
"$INPUT_USER" == "__token__" &&
721
! "$INPUT_PASSWORD" =~ ^pypi-

0 commit comments

Comments
 (0)