From 6f887f70a3d9780c420410598e39dac9bbccebf2 Mon Sep 17 00:00:00 2001 From: Idel Pivnitskiy Date: Tue, 26 Jul 2022 15:36:19 -0700 Subject: [PATCH] release.sh: explicitly specify remote name and branch for fetch/pull --- scripts/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 84d4897c28..4362ac74b6 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -120,8 +120,8 @@ else echo "DRYRUN mode is enabled, any further changes won't be committed." fi -$git fetch -p -$git pull +$git fetch -p ${remote_name} +$git pull ${remote_name} "$BRANCH_NAME" $git log -n1 # No need to clean, it has been done above