summaryrefslogtreecommitdiff
path: root/bin/updatebuildrelease
diff options
context:
space:
mode:
Diffstat (limited to 'bin/updatebuildrelease')
-rwxr-xr-xbin/updatebuildrelease2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/updatebuildrelease b/bin/updatebuildrelease
index c11c538..d5e5eb8 100755
--- a/bin/updatebuildrelease
+++ b/bin/updatebuildrelease
@@ -32,8 +32,8 @@ test -z $1 || test -d ./.git || {
}
# update the build-main branch with our newest blessed reference
-git branch -d build-$RELEASE &>/dev/null || true
git tag -d build-$RELEASE &>/dev/null || true
+git branch -D build-$RELEASE &>/dev/null || true
git checkout -b build-$RELEASE $REF || true
git push $ORIGIN build-$RELEASE:build-$RELEASE
git checkout master