aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release/release.sh
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-12-13 16:10:34 +0000
committerGravatar John Cater <jcater@google.com>2016-12-13 16:30:57 +0000
commit49fbc2937c4ef4d380ea060c474d4812a9b4611e (patch)
tree4d1a5e62b71e7d6dfe900b1fdec46b287fdee219 /scripts/release/release.sh
parentbce889840f91f14c05418d960984bcf1a5f59411 (diff)
Release script: stays in the release branch after creating it
Getting back to the previous branch was confusing for users and not really useful. -- Change-Id: Icc3d4b30ab7d75de73fcb5885a215a08b96dfeb3 Reviewed-on: https://cr.bazel.build/7593 PiperOrigin-RevId: 141892852 MOS_MIGRATED_REVID=141892852
Diffstat (limited to 'scripts/release/release.sh')
-rwxr-xr-xscripts/release/release.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/release/release.sh b/scripts/release/release.sh
index 53f989e3af..3233393325 100755
--- a/scripts/release/release.sh
+++ b/scripts/release/release.sh
@@ -174,9 +174,7 @@ function create_release() {
exit 1
}
- # Return to the original branch
echo "Created $(get_full_release_name) on branch ${branch_name}."
- git checkout ${origin_branch} &> /dev/null
}
# Setup the git notes for a release.