diff --git a/.github/update-release-branch.py b/.github/update-release-branch.py index ce5c336d80..0ea816b8a9 100644 --- a/.github/update-release-branch.py +++ b/.github/update-release-branch.py @@ -371,10 +371,10 @@ def main(): # releases. run_git('revert', vOlder_update_commits[0], '--no-edit') - # Also revert the "Update checked-in dependencies" commit created by Actions. - update_dependencies_commit = run_git('log', '--grep', '^Update checked-in dependencies', '--format=%H').split()[0] - print(f' Reverting {update_dependencies_commit}') - run_git('revert', update_dependencies_commit, '--no-edit') + # Also revert the "Rebuild" commit created by Actions. + rebuild_commit = run_git('log', '--grep', '^Rebuild$', '--format=%H').split()[0] + print(f' Reverting {rebuild_commit}') + run_git('revert', rebuild_commit, '--no-edit') else: print(' Nothing to revert.')