From: Thanh Ha Date: Tue, 11 Aug 2020 19:13:59 +0000 (-0400) Subject: Bump version of conf.yaml file X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=releng%2Fbuilder.git;a=commitdiff_plain;h=f46504aa10103ac8f5e4f864eb5eaa2b5d5571a1 Bump version of conf.yaml file When branch cutting we not only need to bump pom.xml file versions but we also need to bump conf.yaml file versions for all projects. Issue: DOCS-129 Change-Id: I0aa6838d1fd4e2df536a4e30fb8751b7d3a466bf Signed-off-by: Thanh Ha --- diff --git a/jjb/autorelease/version-bump.sh b/jjb/autorelease/version-bump.sh index 12e1b849b..1980f77df 100644 --- a/jjb/autorelease/version-bump.sh +++ b/jjb/autorelease/version-bump.sh @@ -59,6 +59,8 @@ if [ "$BRANCH_CUT" = "false" ]; then commit_msg="Bump versions by x.y.(z+1)" else commit_msg="Bump versions by x.(y+1).z" + # If we are branch cutting we also need to bump the docs/conf.yaml version + find . -type f -name conf.yaml -exec sed -i "s/version:.*/version: ${STREAM^}/" {} \; fi lftools version bump "$RELEASE_TAG"