Commit f460c178 authored by Tomo Suzuki's avatar Tomo Suzuki

Local install before changing version

parent 7f520092
......@@ -252,6 +252,9 @@ build_java_linkage_monitor() {
# Example: "3.9.0" (without 'rc')
VERSION=`grep '<version>' pom.xml |head -1 |perl -nle 'print $1 if m/<version>(\d+\.\d+.\d+)/'`
cd bom
# This local installation avoids the problem caused by a new version not yet in Maven Central
# https://github.com/protocolbuffers/protobuf/issues/6627
mvn install
$MVN versions:set -DnewVersion=${VERSION}-SNAPSHOT
cd ..
$MVN versions:set -DnewVersion=${VERSION}-SNAPSHOT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment