diff options
author | con <qtc-committer@nokia.com> | 2010-11-25 17:36:50 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-11-25 17:36:50 +0100 |
commit | 61ebb308e62aa662e0d44c4fe2ed71e431fc1135 (patch) | |
tree | d7d169cd5bf806368424d76dc5199e2c2821e610 /scripts | |
parent | 1b6d99661f56051864002a2777febf0540e1c1d2 (diff) | |
parent | bd8b23d4bad4191367e7c5eb3297769a2477afec (diff) | |
download | qt-creator-61ebb308e62aa662e0d44c4fe2ed71e431fc1135.tar.gz |
Merge commit 'bd8b23d4bad4191367e7c5eb3297769a2477afec' (origin/2.1)
Conflicts:
src/plugins/debugger/qml/qmlengine.cpp
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/createSrcAndDocPackage.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/createSrcAndDocPackage.sh b/scripts/createSrcAndDocPackage.sh index 66d8de2b18..eb2b946e58 100755 --- a/scripts/createSrcAndDocPackage.sh +++ b/scripts/createSrcAndDocPackage.sh @@ -4,12 +4,12 @@ if [[ $# != 2 ]]; then cat <<USAGE usage: - $0 <branch> <version> + $0 <refspec> <version> - Creates tar and zip source package from origin/<branch> and documentation-zip from current checkout. + Creates tar and zip source package from <refspec> and documentation-zip from current checkout. Files and directories are named after <version>. example: - $0 2.0.0 2.0.0-rc1 + $0 origin/2.0.0 2.0.0-rc1 USAGE exit 1 fi @@ -18,9 +18,9 @@ BRANCH=$1 VERSION=$2 cd `dirname $0`/.. echo "Creating tar archive..." -git archive --format=tar --prefix=qt-creator-${VERSION}-src/ origin/${BRANCH} | gzip > qt-creator-${VERSION}-src.tar.gz || exit 1 +git archive --format=tar --prefix=qt-creator-${VERSION}-src/ ${BRANCH} | gzip > qt-creator-${VERSION}-src.tar.gz || exit 1 echo "Creating zip archive..." -git archive --format=zip --prefix=qt-creator-${VERSION}-src/ origin/${BRANCH} > qt-creator-${VERSION}-src.zip || exit 1 +git archive --format=zip --prefix=qt-creator-${VERSION}-src/ ${BRANCH} > qt-creator-${VERSION}-src.zip || exit 1 echo "Creating documentation..." rm -r doc/html qmake -r && make docs_online || exit 1 |