storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptgo...@apache.org
Subject [2/2] git commit: append "apache-" to release archives
Date Thu, 19 Dec 2013 17:04:37 GMT
append "apache-" to release archives


Project: http://git-wip-us.apache.org/repos/asf/incubator-storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-storm/commit/6331d6a9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-storm/tree/6331d6a9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-storm/diff/6331d6a9

Branch: refs/heads/master
Commit: 6331d6a937ebfb82bf990b6ce2e17d0479a321b1
Parents: a2b1d5d
Author: P. Taylor Goetz <ptgoetz@gmail.com>
Authored: Thu Dec 19 12:03:30 2013 -0500
Committer: P. Taylor Goetz <ptgoetz@gmail.com>
Committed: Thu Dec 19 12:03:30 2013 -0500

----------------------------------------------------------------------
 bin/build_release.sh | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-storm/blob/6331d6a9/bin/build_release.sh
----------------------------------------------------------------------
diff --git a/bin/build_release.sh b/bin/build_release.sh
index d09649e..5a26ac6 100644
--- a/bin/build_release.sh
+++ b/bin/build_release.sh
@@ -22,12 +22,13 @@ function quit {
 trap quit 1 2 3 15  #Ctrl+C exits.
 
 RELEASE=`cat VERSION`
+PROJECT=apache-storm
 LEIN=`which lein2 || which lein` 
 export LEIN_ROOT=1
 
-echo Making release $RELEASE
+echo Making release $PROJECT-$RELEASE
 
-DIR=`pwd`/_release/storm-$RELEASE
+DIR=`pwd`/_release/$PROJECT-$RELEASE
 
 rm -rf _release
 rm -f *.zip
@@ -47,7 +48,7 @@ do
 	cd ..
 done
 
-cd _release/storm-$RELEASE
+cd _release/$PROJECT-$RELEASE
 for i in *.jar
 do
 	rm -f lib/$i
@@ -73,9 +74,9 @@ cp README.markdown $DIR/
 cp LICENSE.html $DIR/
 
 cd _release
-zip -r storm-$RELEASE.zip *
-mv storm-*.zip ../
-tar -cvzf ../storm-$RELEASE.tar.gz ./
+zip -r $PROJECT-$RELEASE.zip *
+mv $PROJECT-*.zip ../
+tar -cvzf ../$PROJECT-$RELEASE.tar.gz ./
 
 cd ..
 


Mime
View raw message