hhvm / packaging

The sources for how we have built the HHVM packages.
MIT License
65 stars 65 forks source link

Make promote-nightly-to-release idempotent #294

Closed Atry closed 2 years ago

Atry commented 2 years ago

Recently I removed user.email setting from my ~/.gitconfig. As a result, when I ran bin/promote-nightly-to-release, it partially failed because it cannot commit to the hhvm/hhvm-docker repository. What is worse is that I could not rerun the script even when I added user.email back to ~/.gitconfig, because it had created and pushed HHVM-4.155 branch to this repository.

This PR lets the changes to this repository be idempotent, allowing me to rerun promote-nightly-to-release after a partial failure.