Commit 8714d3ae authored by con's avatar con

Uploading the doc is now handled differently.

parent 8c74bc10
......@@ -9,7 +9,7 @@ usage:
Creates tar and zip source package from <refspec> and documentation-zip from current checkout.
Files and directories are named after <version>.
$0 origin/2.0.0 2.0.0-rc1
$0 origin/2.2 2.2.0
exit 1
......@@ -21,10 +21,10 @@ echo "Creating tar archive..."
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/ ${BRANCH} > qt-creator-${VERSION} || exit 1
echo "Creating documentation..."
rm -r doc/html
qmake -r && make docs_online || exit 1
cd doc
cp -r html qt-creator-${VERSION}
zip -r ../qt-creator-${VERSION} qt-creator-${VERSION}
rm -r qt-creator-${VERSION}
#echo "Creating documentation..."
#rm -r doc/html
#qmake -r && make docs_online || exit 1
#cd doc
#cp -r html qt-creator-${VERSION}
#zip -r ../qt-creator-${VERSION} qt-creator-${VERSION}
#rm -r qt-creator-${VERSION}
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