We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dafc1a commit 30cae5bCopy full SHA for 30cae5b
scripts/release_testing_setup.sh
@@ -57,7 +57,10 @@ elif [ "$TESTINGMODE" = "prerelease_testing" ]; then
57
git push origin --delete "${tag_version}" > /dev/null 2>&1
58
set -e
59
git tag -f -a "${tag_version}" -m "release testing"
60
- git push origin "${tag_version}" > /dev/null 2>&1 || echo "Push failed due to expired or insufficient token."
+ git push origin "${tag_version}" || {
61
+ echo "ERROR: Failed to push tag ${tag_version}. This is likely due to an expired Personal Access Token (PAT) or insufficient permissions." >&2
62
+ exit 1
63
+ }
64
# Update source and tag, e.g. ":tag => 'CocoaPods-' + s.version.to_s" to
65
# ":tag => ${test_version}.nightly"
66
sed -i "" "s/\s*:tag.*/:tag => '${tag_version}'/" *.podspec
0 commit comments