aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-11-29 10:39:53 +0100
committerEike Ziller <eike.ziller@digia.com>2013-12-02 16:05:47 +0100
commitf8677917f2efb77767a91c147aebd8f051acc076 (patch)
tree626bf8e3f9fc573003c64124c68fb8ead431bfe3 /scripts
parent92cd92bb21fe65b6def84a56464f25f9bf7a50f8 (diff)
New file name convention for source packages.
Change-Id: I6ec2744379751708bbd1f36816dba7e5b976270d Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/createSourcePackages.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/createSourcePackages.sh b/scripts/createSourcePackages.sh
index 6bec3202c6..0ed7e2061a 100755
--- a/scripts/createSourcePackages.sh
+++ b/scripts/createSourcePackages.sh
@@ -1,21 +1,22 @@
#!/bin/bash
## Command line parameters
-if [[ $# != 1 ]]; then
+if [[ $# != 2 ]]; then
cat <<USAGE
usage:
- $0 <version>
+ $0 <version> <edition>
Creates tar and zip source package from HEAD of the main repository and submodules.
- Files and directories are named after <version>.
+ Files and directories are named after qt-creator-<edition>-src-<version>.
example:
- $0 2.2.0-beta
+ $0 2.2.0-beta opensource
USAGE
exit 1
fi
VERSION=$1
-PREFIX=qt-creator-${VERSION}-src
+EDITION=$2
+PREFIX=qt-creator-${EDITION}-src-${VERSION}
cd `dirname $0`/..
RESULTDIR=`pwd`
TEMPSOURCES=`mktemp -d -t qtcCreatorSourcePackage.XXXXXX`