Merge "Migrate tsdr matrix-verify jobs to freestyle-verify jobs"
[releng/builder.git] / jjb / autorelease / include-raw-autorelease-release-versions.sh
index 1932859624856d598246123279cd41a40d74a7ef..3673c01669da4cf36515f1812982cc749a31d3c0 100644 (file)
@@ -9,17 +9,12 @@
 # http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
 
-# DATESTAMP=true  # Example
-# RELEASE_TAG=Helium-SR2  # Example
-# RELEASE_BRANCH=stable/helium  # Example
+# RELEASE_TAG=Beryllium-SR1  # Example
+# RELEASE_BRANCH=stable/beryllium  # Example
 
 # Directory to put git format-patches
 PATCH_DIR=`pwd`/patches
 
-if [ "$DATESTAMP" == "true" ]; then
-   export RELEASE_TAG=$RELEASE_TAG-`date -u +v%Y%m%d%H%M`
-fi
-
 echo $RELEASE_TAG
 ./scripts/version.sh release $RELEASE_TAG
 git submodule foreach "git commit -am \"Release $RELEASE_TAG\" || true"
@@ -31,6 +26,7 @@ modules=`xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -m '//x:module
 for module in $modules; do
     pushd $module
     git format-patch --stdout origin/$RELEASE_BRANCH > $PATCH_DIR/${module//\//-}.patch
+    git bundle create $PATCH_DIR/${module//\//-}.bundle "origin/master..HEAD"
     popd
 done