Skip to content

Commit

Permalink
Let skywalking use a fixed version when releasing (#3603)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu authored Nov 17, 2023
1 parent 370cdef commit cccb52d
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 @@ -40,5 +40,7 @@ if [ "$commit_local_release_branch" != "$commit_remote_release_branch" ]; then
exit 1
fi

# Update the skywalking version to the same release version
cd skywalking && ./mvnw versions:set -DnewVersion=${release_version} -DgenerateBackupPoms=false && cd ..
# 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 -Dcheckstyle.skip=true" release:prepare
./mvnw --batch-mode -nsu -DreleaseVersion=${release_version} -Dskywalking.version=${release_version} -Denforcer.fail=false -Darguments="-DskipTests -Denforcer.fail=false -Dcheckstyle.skip=true" release:prepare

0 comments on commit cccb52d

Please sign in to comment.