fix(history-rewrite): remove redundant || true from push warning echo

This commit is contained in:
GitHub Actions
2025-12-09 15:05:21 +00:00
parent 9c8d6b65ef
commit 84e692f04e
+1 -1
View File
@@ -34,7 +34,7 @@ echo "Created tags tarball: $tags_tar"
echo "Attempting to push tags to origin under refs/backups/tags/*"
for t in $(git tag --list); do
if ! git push origin "refs/tags/$t:refs/backups/tags/$t" >/dev/null 2>&1; then
echo "Warning: pushing tag $t to refs/backups/tags/$t failed" >&2 || true
echo "Warning: pushing tag $t to refs/backups/tags/$t failed" >&2
fi
done