Skip to content

Commit

Permalink
Update maven_release
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu authored Nov 16, 2023
1 parent bf0bdc2 commit fa93451
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-bin/maven/maven_release
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ if [ -z "$branch_name" ]; then
echo "Unable to determine a valid branch. Auto-selecting the default branch: $default_branch"
branch_name=$default_branch
fi
echo "Ready to checkout branch $branch_name"
git checkout "$branch_name"

git submodule update --init --recursive
# Prepare and push release commits and the version tag (N.N.N), which triggers deployment.
./mvnw --batch-mode -nsu -DreleaseVersion=${release_version} -Denforcer.fail=false -Darguments="-DskipTests -Denforcer.fail=false" release:prepare
./mvnw --batch-mode -nsu -DreleaseVersion=${release_version} -Denforcer.fail=false -Darguments="-DskipTests -Dcheckstyle.skip=true -Denforcer.fail=false" release:prepare

0 comments on commit fa93451

Please sign in to comment.