chore: disable release freezing on dev.coder.com (#25881)

This commit is contained in:
Dean Sheather
2026-05-31 23:36:05 +10:00
committed by GitHub
parent 6f5220202d
commit 9c111a2be2
+14
View File
@@ -17,6 +17,20 @@ deploy_branch=main
# branch names.
branch_name=$(git branch --show-current)
# Short circuit: we no longer deploy release branches to dogfood, and instead
# test them on the stable deployment.
# TODO: once we're happy with the new deployment process, we can remove this
# script and the related github workflow stuff.
if [[ "$branch_name" == "main" ]]; then
log "VERDICT: DEPLOY"
echo "DEPLOY" # stdout
exit 0
else
log "VERDICT: NOOP"
echo "NOOP" # stdout
exit 0
fi
if [[ "$branch_name" != "main" && ! "$branch_name" =~ ^release/[0-9]+\.[0-9]+$ ]]; then
error "Current branch '$branch_name' is not a supported branch name for dogfood, must be 'main' or 'release/x.y'"
fi