From 9151a1463a9f7af6c3e3c205e0c98f3cbf1de0c7 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Wed, 8 Jun 2016 17:26:27 -0400 Subject: [PATCH] Update bumping script to merge from git bundles Change-Id: Ia44a4e037eb218eda0be4ebcbf8f946704c9f0de Signed-off-by: Thanh Ha --- patch-odl-release.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/patch-odl-release.sh b/patch-odl-release.sh index 7edf9cb6..ed26cff3 100755 --- a/patch-odl-release.sh +++ b/patch-odl-release.sh @@ -54,13 +54,17 @@ then exit 1 fi + ####################### # Start apply patches # ####################### -git apply ${PATCH_DIR}/${project/\//-}.patch -git commit -asm "Release $RELEASE_TAG" +git fetch ${PATCH_DIR}/${project/\//-}.bundle +git merge FETCH_HEAD git tag -asm "OpenDaylight $RELEASE_TAG release" release/${RELEASE_TAG,,} find . -name pom.xml | xargs grep SNAPSHOT + $scriptdir/version.sh bump $RELEASE_TAG git commit -asm "Bumping versions by 0.0.1 for next dev cycle" find . -name pom.xml | xargs grep $RELEASE_TAG + +echo "Tagging and version bumping complete" -- 2.16.6