We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 173b8fb commit 4986f64Copy full SHA for 4986f64
twine-upload.sh
@@ -69,13 +69,15 @@ if [[ "${INPUT_ATTESTATIONS}" != "false" ]] ; then
69
# user confusion, since attestations (currently) require Trusted Publishing.
70
if [[ -n "${INPUT_PASSWORD}" ]] ; then
71
echo "${ATTESTATIONS_WITHOUT_TP_WARNING}"
72
+ INPUT_ATTESTATIONS="false"
73
fi
74
75
# Setting `attestations: true` with an index other than PyPI or TestPyPI
76
# indicates user confusion, since attestations are not supported on other
77
# indices presently.
78
if [[ ! "${INPUT_REPOSITORY_URL}" =~ pypi\.org ]] ; then
79
echo "${ATTESTATIONS_WRONG_INDEX_WARNING}"
80
81
82
83
0 commit comments