X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fversion-bump.sh;h=23d062f4fbc1157d355bd3f25c5d3437432ce2d0;hb=410bdc83251779f7b5ef615452b1e15350be4b58;hp=7d81b33a24929ef7a53ff149ac14ad594bef943f;hpb=f17e9e7c655b0b32f96ad9a8cdf3c27903cb542f;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/version-bump.sh b/jjb/autorelease/version-bump.sh index 7d81b33a2..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 @@ -59,9 +58,9 @@ fi lftools version bump "$RELEASE_TAG" # Ignore changes to Final distribution since that will be released separately -pushd integration/distribution || exit 1 - git checkout -f opendaylight/pom.xml -popd || exit 1 +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