Ignore intg/dist/opendaylight in version bump 61/78661/3
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 11 Dec 2018 22:30:07 +0000 (08:30 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 11 Dec 2018 22:55:46 +0000 (08:55 +1000)
The change Ic6e6bb737af9a8a3035c2ee4d4b590072073bf46 does not ignore
the absense of the intg/dist dir and instead fails the version bump
when the directory is not available. Instead ignore if this dir is
not present since the opendaylight/pom.xml builds the common
distribution (managed distribution + SM projects) for Fluorine onwards.

Change-Id: Ia2c0d0ae3b9eec1491f60e8bcbce71fc61ad26cd
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/autorelease/version-bump.sh

index 7d81b33a24929ef7a53ff149ac14ad594bef943f..a4844be2662f65a8e58b5c2d57b148db39c97b8e 100644 (file)
@@ -59,9 +59,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