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.
Recently I removed
user.email
setting from my~/.gitconfig
. As a result, when I ranbin/promote-nightly-to-release
, it partially failed because it cannot commit to thehhvm/hhvm-docker
repository. What is worse is that I could not rerun the script even when I addeduser.email
back to~/.gitconfig
, because it had created and pushedHHVM-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.