X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fversion-bump.sh;h=23d062f4fbc1157d355bd3f25c5d3437432ce2d0;hb=410bdc83251779f7b5ef615452b1e15350be4b58;hp=682d0fb6d292886e61ed343885b92a0f024ca417;hpb=0c768872e5b0a44b7b43cf85090816ba4cbcbd21;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/version-bump.sh b/jjb/autorelease/version-bump.sh index 682d0fb6d..23d062f4f 100644 --- a/jjb/autorelease/version-bump.sh +++ b/jjb/autorelease/version-bump.sh @@ -43,8 +43,7 @@ if [ "$BRANCH_CUT" = "false" ]; then done fi - -# Setup Gerrit remove to ensure Change-Id gets set on commit. +# Setup Gerrit remote to ensure Change-Id gets set on commit. git config --global --add gitreview.username "jenkins-$SILO" git review -s git remote -v @@ -58,6 +57,11 @@ if [ "$BRANCH_CUT" = "false" ]; then fi lftools version bump "$RELEASE_TAG" +# Ignore changes to Final distribution since that will be released separately +pushd integration/distribution || true + git checkout -f opendaylight/pom.xml || true +popd || true + git submodule foreach "git commit -asm 'Bump versions by x.y.(z+1)'" # Only submodules need to be bumped, we can ignore autorelease's bump information git checkout -f