Skip to content

Commit 926a7a9

Browse files
committed
release-fetchh-before-checkout
1 parent 08ded21 commit 926a7a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ if [[ $(git branch --show-current) != "$main_BRANCH" ]]; then
2828
exit 1
2929
fi
3030

31+
git fetch --all
32+
3133
# checkout source branch
3234
if ! git checkout origin/"$BASE_SOURCE_BRANCH"; then
3335
echo "Source branch origin/$BASE_SOURCE_BRANCH does not exist"

0 commit comments

Comments
 (0)