We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45d2e54 commit 094cddcCopy full SHA for 094cddc
goodnight.sh
@@ -9,7 +9,8 @@ set -e
9
# (thru current branch), we don't want to push thru nightly either.
10
#
11
CURR_BRANCH_PUSHED="origin/$(git branch --show)"
12
-git branch -f nightly "$CURR_BRANCH_PUSHED"
+CURR_BRANCH_PUSHED_COMMIT=$(git rev-parse "$CURR_BRANCH_PUSHED")
13
+git branch -f nightly "$CURR_BRANCH_PUSHED_COMMIT"
14
15
LOCAL_NIGHTLY="$(git rev-parse nightly)"
16
REMOTE_NIGHTLY="$(git rev-parse origin/nightly)"
0 commit comments