add git notes automation for record keeping of rollbacks

This commit is contained in:
2025-10-16 21:23:24 -05:00
parent 1126b4add8
commit 42265a3240
+2 -1
View File
@@ -981,10 +981,11 @@ jobs:
# Force push the rollback
if ! git push --force origin main; then
git notes -m 'release commit could not be rolled back'
echo "::error::Failed to push rollback to main"
exit 1
fi
git notes -m 'release commit rolled back'
echo "::error::Reset main branch to commit $PREVIOUS_MAIN_SHA"
echo "::error::Build failures detected:"