mirror of
https://github.com/slackhq/nebula.git
synced 2026-09-30 09:36:37 +02:00
just fetch all of origin
We need to ensure we have MERGE_SHA available too
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ else
|
|||||||
|
|
||||||
echo "Backporting #${PR_NUMBER} (${MERGE_SHA}) onto ${TARGET_BRANCH} as ${BRANCH}"
|
echo "Backporting #${PR_NUMBER} (${MERGE_SHA}) onto ${TARGET_BRANCH} as ${BRANCH}"
|
||||||
|
|
||||||
git fetch origin "$TARGET_BRANCH"
|
git fetch origin
|
||||||
git checkout -b "$BRANCH" "origin/${TARGET_BRANCH}"
|
git checkout -b "$BRANCH" "origin/${TARGET_BRANCH}"
|
||||||
|
|
||||||
# -m 1 handles a real merge commit; plain cherry-pick handles a squash merge.
|
# -m 1 handles a real merge commit; plain cherry-pick handles a squash merge.
|
||||||
|
|||||||
Reference in New Issue
Block a user