summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-02-10 22:21:34 +0000
committerDRC <dcommander@users.sourceforge.net>2011-02-10 22:21:34 +0000
commitb9b9e4fb546905510fce5dcbd7e67f0bcb974c7b (patch)
tree0af8cc2fa447504c3cd183f45714d0e181bafe17 /release
parent7c854510702dd9d19f1ece823b0dd4bc1ff7f294 (diff)
downloadtigervnc-b9b9e4fb546905510fce5dcbd7e67f0bcb974c7b.tar.gz
tigervnc-b9b9e4fb546905510fce5dcbd7e67f0bcb974c7b.zip
Include version number in package names
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4284 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'release')
-rw-r--r--release/makemacpkg.in4
-rw-r--r--release/maketarball.in4
2 files changed, 5 insertions, 3 deletions
diff --git a/release/makemacpkg.in b/release/makemacpkg.in
index d89d5cb3..4465be0d 100644
--- a/release/makemacpkg.in
+++ b/release/makemacpkg.in
@@ -95,7 +95,7 @@ sudo osacompile -t APPL -o "$TMPDIR/dmg/Uninstall.app" $TMPDIR/uninstall.applesc
sudo chown -R $USER "$TMPDIR/dmg/Uninstall.app"
hdiutil create -fs HFS+ -volname $PACKAGE_NAME-$VERSION \
-srcfolder "$TMPDIR/dmg" \
- $TMPDIR/$PACKAGE_NAME.dmg
-cp $TMPDIR/$PACKAGE_NAME.dmg .
+ $TMPDIR/$PACKAGE_NAME-$VERSION.dmg
+cp $TMPDIR/$PACKAGE_NAME-$VERSION.dmg .
exit
diff --git a/release/maketarball.in b/release/maketarball.in
index cc836f34..544dc215 100644
--- a/release/maketarball.in
+++ b/release/maketarball.in
@@ -19,7 +19,9 @@ PACKAGE_NAME=@PACKAGE_NAME@
VERSION=@VERSION@
BUILD=@BUILD@
SRCDIR=@srcdir@
-PACKAGE_FILE=$PACKAGE_NAME-`uname -s`-@host_cpu@.tar.gz
+OS=`uname -s`
+CPU=@host_cpu@
+PACKAGE_FILE=$PACKAGE_NAME-$OS-$CPU-$VERSION.tar.gz
SERVER=0
if [ $# -gt 0 ]; then