move source download from package-all.sh for Travis

This commit is contained in:
Matthias Mailänder
2013-10-19 15:53:42 +02:00
parent 3d3b2f8dc4
commit da27860d82
2 changed files with 6 additions and 7 deletions

View File

@@ -61,6 +61,12 @@ fi
./package-all.sh $TAG ~/openra-package/packages/ ./package-all.sh $TAG ~/openra-package/packages/
echo "Downloading source code packages from GitHub..."
curl -s -L -o "$OUTPUTDIR/$TAG.tar.gz" "https://github.com/OpenRA/OpenRA/archive/$TAG.tar.gz"
if [ $? -ne 0 ]; then
echo "Source code package download failed."
fi
./upload-all.sh $TAG ~/openra-package/packages ./upload-all.sh $TAG ~/openra-package/packages
./update-wiki.sh ./update-wiki.sh

View File

@@ -98,13 +98,6 @@ echo "Creating packages..."
fi fi
) & ) &
(
echo "Downloading source code packages from GitHub."
curl -s -L -o "$OUTPUTDIR/$TAG.tar.gz" "https://github.com/OpenRA/OpenRA/archive/$TAG.tar.gz"
if [ $? -ne 0 ]; then
echo "Source code package download failed."
fi
) &
wait wait
echo "Package build done." echo "Package build done."