From 9b8e7336db3f96a2939a3e9fa827c62f466ca60d Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Mon, 25 Jul 2022 17:29:21 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9DInform=20about=20deprecation=20of?= =?UTF-8?q?=20`master`=20branch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch suggests the users to use `release/v1`. Resolves #83 --- twine-upload.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/twine-upload.sh b/twine-upload.sh index 829f39a..bdff0b3 100755 --- a/twine-upload.sh +++ b/twine-upload.sh @@ -2,6 +2,20 @@ set -Eeuo pipefail +echo \ + ::warning file='# >>' PyPA publish to PyPI GHA'%3A' \ + UNSUPPORTED GITHUB ACTION VERSION \ + '<< ':: \ + You are using '"pypa/gh-action-pypi-publish@master"'. \ + The '"master"' branch of this project has been sunset and will not \ + receive any updates, not even security bug fixes. Please, make \ + sure to use a supported version. If you want to pin to v1 major \ + version, use '"pypa/gh-action-pypi-publish@release/v1"'. If you \ + feel adventurous, you may opt to use use \ + '"pypa/gh-action-pypi-publish@unstable/v1"' instead. A more \ + general recommendation is to pin to exact tags or commit shas. + + if [[ "$INPUT_USER" == "__token__" && ! "$INPUT_PASSWORD" =~ ^pypi-