From ff756499bca56c5bf5e203026442a31c1e8d4261 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Wed, 28 Nov 2018 01:55:36 +0800 Subject: [PATCH] Ignore int/dist/opendaylight artifact in ver bump Since the opendaylight artifact releases separately from autorelease we need to ignore that artifact in version bump scripts. Change-Id: Ic6e6bb737af9a8a3035c2ee4d4b590072073bf46 Signed-off-by: Thanh Ha --- jjb/autorelease/version-bump.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jjb/autorelease/version-bump.sh b/jjb/autorelease/version-bump.sh index 682d0fb6d..7d81b33a2 100644 --- a/jjb/autorelease/version-bump.sh +++ b/jjb/autorelease/version-bump.sh @@ -58,6 +58,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 || exit 1 + git checkout -f opendaylight/pom.xml +popd || exit 1 + 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 -- 2.36.6