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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 39f8ee2341a85806d74058058a786f14739f694c
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Apr 21 08:02:10 2021 +0200

    Moving from master branch to main
---
 script/gen_release_notes.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/script/gen_release_notes.sh b/script/gen_release_notes.sh
index 070e08d..c00e520 100755
--- a/script/gen_release_notes.sh
+++ b/script/gen_release_notes.sh
@@ -38,12 +38,12 @@ echo "Using start SHA $start_sha from tag $last_tag"
 set +e
 end_sha=$(git rev-list -n 1 $new_tag 2>&1)
 if [ $? -ne 0 ]; then
-       end_sha=$(git rev-parse upstream/master)
+       end_sha=$(git rev-parse upstream/main)
     if [ "$end_sha" == "" ]; then
        echo "cannot determine current SHA from git"
        exit 1
     fi
-    echo "Using end SHA $end_sha from upstream/master"
+    echo "Using end SHA $end_sha from upstream/main"
 else
        echo "Using end SHA $end_sha from tag $new_tag"
 fi

Reply via email to