Ignore int/dist/opendaylight artifact in ver bump 24/78224/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 27 Nov 2018 17:55:36 +0000 (01:55 +0800)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 27 Nov 2018 18:09:36 +0000 (02:09 +0800)
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 <thanh.ha@linuxfoundation.org>
jjb/autorelease/version-bump.sh

index 682d0fb6d292886e61ed343885b92a0f024ca417..7d81b33a24929ef7a53ff149ac14ad594bef943f 100644 (file)
@@ -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