mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
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:
committed by
GitHub
parent
89e6afbc5e
commit
49feb12a7f
@ -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}")
|
||||
|
Reference in New Issue
Block a user