This is an automated email from the ASF dual-hosted git repository.

eskabetxe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bahir-flink.git

commit ffb413f0ae625800d2e13e1425728065b162f3b9
Author: Joao Boto <[email protected]>
AuthorDate: Thu Jun 16 16:02:09 2022 +0200

    [BAHIR-304] Add gitBranch option to release script
---
 dev/release-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/release-build.sh b/dev/release-build.sh
index 3c03e88..69ae455 100755
--- a/dev/release-build.sh
+++ b/dev/release-build.sh
@@ -196,7 +196,7 @@ fi
 # commit ref to checkout when building
 GIT_REF=${GIT_REF:-master}
 if [[ "$RELEASE_PREPARE" == "true" && "$GIT_BRANCH" ]]; then
-    GIT_REF="$GIT_BRANCH"
+    GIT_REF="origin/$GIT_BRANCH"
 fi
 if [[ "$RELEASE_PUBLISH" == "true" && "$GIT_TAG" ]]; then
     GIT_REF="tags/$GIT_TAG"

Reply via email to