Commit f8677917 authored by Eike Ziller's avatar Eike Ziller
Browse files

New file name convention for source packages.



Change-Id: I6ec2744379751708bbd1f36816dba7e5b976270d
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 92cd92bb
#!/bin/bash #!/bin/bash
## Command line parameters ## Command line parameters
if [[ $# != 1 ]]; then if [[ $# != 2 ]]; then
cat <<USAGE cat <<USAGE
usage: usage:
$0 <version> $0 <version> <edition>
Creates tar and zip source package from HEAD of the main repository and submodules. 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: example:
$0 2.2.0-beta $0 2.2.0-beta opensource
USAGE USAGE
exit 1 exit 1
fi fi
VERSION=$1 VERSION=$1
PREFIX=qt-creator-${VERSION}-src EDITION=$2
PREFIX=qt-creator-${EDITION}-src-${VERSION}
cd `dirname $0`/.. cd `dirname $0`/..
RESULTDIR=`pwd` RESULTDIR=`pwd`
TEMPSOURCES=`mktemp -d -t qtcCreatorSourcePackage.XXXXXX` TEMPSOURCES=`mktemp -d -t qtcCreatorSourcePackage.XXXXXX`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment