Update bumping script to merge from git bundles 04/4104/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 8 Jun 2016 21:26:27 +0000 (17:26 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 3 Feb 2017 17:04:39 +0000 (12:04 -0500)
Change-Id: Ia44a4e037eb218eda0be4ebcbf8f946704c9f0de
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
patch-odl-release.sh

index 7edf9cb..ed26cff 100755 (executable)
@@ -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"