Skip to content

Commit

Permalink
Merge pull request #6628 from suztomo/linakge_monitor_fix
Browse files Browse the repository at this point in the history
Linakge Monitor fix to handle a new version of protobuf-bom not available in Maven Central
  • Loading branch information
rafi-kamal committed Sep 6, 2019
2 parents 7f52009 + c1a0465 commit 1363bf9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1363bf9

Please sign in to comment.