chore(scripts): remove branch checks from release script (#14184)

The initial assumption that branch manipulations should be done by this
script and not pushed to remote manually has proven to get in the way of
the regular release flow.

These are just safety-checks to prevent user error, safe to remove.

Fixes #13648
This commit is contained in:
Mathias Fredriksson
2024-08-06 17:54:26 +03:00
committed by GitHub
parent 89e6afbc5e
commit 49feb12a7f
2 changed files with 0 additions and 10 deletions

View File

@ -171,10 +171,6 @@ else
fi
fi
if [[ -n ${remote_branch_exists} ]]; then
error "Release branch ${release_branch} already exists on remote, please check your ref."
fi
if [[ -n ${local_branch_exists} ]]; then
# If it exists, ensure that this release branch points to the provided ref.
release_branch_ref=$(git rev-parse "${release_branch}")