Skip to content

Commit

Permalink
For mvnd 1.0.0 the "main branch" is mvnd-1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Jun 14, 2024
1 parent 2ec6f43 commit c963ea4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/release-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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

0 comments on commit c963ea4

Please sign in to comment.