Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "natapp project jenkins builder jobs"
[releng/builder.git]
/
jjb
/
autorelease
/
include-raw-autorelease-release-versions.sh
diff --git
a/jjb/autorelease/include-raw-autorelease-release-versions.sh
b/jjb/autorelease/include-raw-autorelease-release-versions.sh
index bbf90e22614231696a4b21a06d11de19955630ac..118ed71bebe1a42e6590d6a6d3902863bcbe0989 100644
(file)
--- a/
jjb/autorelease/include-raw-autorelease-release-versions.sh
+++ b/
jjb/autorelease/include-raw-autorelease-release-versions.sh
@@
-10,8
+10,11
@@
##############################################################################
# DATESTAMP=true # Example
##############################################################################
# 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`
if [ "$DATESTAMP" == "true" ]; then
export RELEASE_TAG=$RELEASE_TAG-`date -u +v%Y%m%d%H%M`
@@
-23,11
+26,12
@@
git submodule foreach "git commit -am \"Release $RELEASE_TAG\" || true"
git commit -am "Release $RELEASE_TAG"
mkdir patches
git commit -am "Release $RELEASE_TAG"
mkdir patches
+mv taglist.log $PATCH_DIR
modules=`xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -m '//x:modules' -v '//x:module' pom.xml`
for module in $modules; do
modules=`xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -m '//x:modules' -v '//x:module' pom.xml`
for module in $modules; do
-
c
d $module
- git format-patch --stdout origin/$RELEASE_BRANCH >
../patches/$module
.patch
- cd ..
+
push
d $module
+ git format-patch --stdout origin/$RELEASE_BRANCH >
$PATCH_DIR/${module//\//-}
.patch
+ popd
done
./scripts/fix-relativepaths.sh
done
./scripts/fix-relativepaths.sh