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>
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