You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gearpump.apache.org by ma...@apache.org on 2016/11/15 22:14:23 UTC

incubator-gearpump git commit: [GEARPUMP-238] Correct release naming and packaging

Repository: incubator-gearpump
Updated Branches:
  refs/heads/master aec49f5b6 -> cf3e2e0a0


[GEARPUMP-238] Correct release naming and packaging

Author: Kam Kasravi <ka...@yahoo.com>

Closes #111 from kkasravi/GEARPUMP-238.


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

Branch: refs/heads/master
Commit: cf3e2e0a04b1751940a904b0410efd5757d70232
Parents: aec49f5
Author: Kam Kasravi <ka...@yahoo.com>
Authored: Wed Nov 16 06:14:00 2016 +0800
Committer: manuzhang <ow...@gmail.com>
Committed: Wed Nov 16 06:14:00 2016 +0800

----------------------------------------------------------------------
 CHANGELOG.md                           |  2 ++
 dev-tools/create_apache_bin_release.sh | 10 +++++++---
 2 files changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/cf3e2e0a/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 314d5f0..a696d5c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@ Apache Gearpump 0.8.2
 ==================
 Change log:
 ------------------
+- GEARPUMP-238 Correct release naming and packaging
+- GEARPUMP-237 do not manually download sbt launcher jar on travis
 - GEARPUMP-234 Update LICENSE and related files for 0.8.2-incubating binary release
 - GEARPUMP-226 refactor build files
 - GEARPUMP-230 Removed unused code from AppMasterService

http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/cf3e2e0a/dev-tools/create_apache_bin_release.sh
----------------------------------------------------------------------
diff --git a/dev-tools/create_apache_bin_release.sh b/dev-tools/create_apache_bin_release.sh
index ceffa1f..b29b3c7 100755
--- a/dev-tools/create_apache_bin_release.sh
+++ b/dev-tools/create_apache_bin_release.sh
@@ -31,8 +31,10 @@ VERIFY=false
 RUN_RAT=false
 CLEAN=false
 RELEASE_VERSION=$(grep '^version' version.sbt|sed 's/^.*"\(.*\)"$/\1/')
-GEARPUMP_RELEASE_VERSION=gearpump-${RELEASE_VERSION}-incubating
-while getopts \u201chrvk:p:\u201d OPTION
+GEARPUMP_ARCHIVE_FOLDER=gearpump-2.11-${RELEASE_VERSION}
+GEARPUMP_SCALA_VERSION=gearpump_2.11-${RELEASE_VERSION}
+GEARPUMP_RELEASE_VERSION=${GEARPUMP_SCALA_VERSION}-incubating
+while getopts \u201chcrvk:p:\u201d OPTION
 do
      case "${OPTION}" in
          h)
@@ -95,9 +97,11 @@ fi
 mkdir tmp
 cd tmp
 tar xzf ../$PACKED_ARCHIVE
+mv $GEARPUMP_ARCHIVE_FOLDER/* .
+rmdir $GEARPUMP_ARCHIVE_FOLDER
 cp ../NOTICE ../README.md ../CHANGELOG.md .
 cp ../LICENSE.bin LICENSE
-rsync -a ../tmp/ $GEARPUMP_RELEASE_VERSION
+rsync -a ../tmp/ $GEARPUMP_RELEASE_VERSION 
 tar czf ../${GEARPUMP_RELEASE_VERSION}-bin.tgz $GEARPUMP_RELEASE_VERSION
 echo Signing ../${GEARPUMP_RELEASE_VERSION}-bin.tgz
 echo $GPG_PASSPHRASE | gpg --batch --default-key $GPG_KEY --passphrase-fd 0 --armour --output ../${GEARPUMP_RELEASE_VERSION}-bin.tgz.asc --detach-sig ../${GEARPUMP_RELEASE_VERSION}-bin.tgz