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

cstamas pushed a commit to branch mvnd-1.x
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git


The following commit(s) were added to refs/heads/mvnd-1.x by this push:
     new c963ea4c For mvnd 1.0.0 the "main branch" is mvnd-1.x
c963ea4c is described below

commit c963ea4cd918612d3d8b00b182874078a662ce56
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Fri Jun 14 11:57:04 2024 +0200

    For mvnd 1.0.0 the "main branch" is mvnd-1.x
---
 build/release-build.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build/release-build.sh b/build/release-build.sh
index 517cda33..ec1dc49f 100755
--- a/build/release-build.sh
+++ b/build/release-build.sh
@@ -42,9 +42,9 @@ startup_check()
       local branch
       branch=${branch_ref##refs/heads/}
 
-      if [ "$branch" != "master" ]
+      if [ "$branch" != "mvnd-1.x" ]
       then
-        echo "Not working on the master - cannot proceed"
+        echo "Not working on the mvnd-1.x - cannot proceed"
         exit 1
       fi
 
@@ -68,7 +68,7 @@ startup_check()
       fi
 
       if [[ $unpull -gt 0 ]]; then
-        echo "There are changes which have not been pulled - cannot proceed. 
The following commits have been added to master since your last pull:"
+        echo "There are changes which have not been pulled - cannot proceed. 
The following commits have been added to mvnd-1.x since your last pull:"
         local unpulled
         unpulled=$(git rev-list $branch..$branch_origin)
         for commit in $unpulled; do
@@ -139,4 +139,4 @@ mvn versions:set -DnewVersion=$NEXT_VERSION
 # commit
 git add -A
 git commit -m "Next is $NEXT_VERSION"
-git push origin master
+git push origin mvnd-1.x

Reply via email to