Add source package uploading.

This commit is contained in:
Paul Chote
2013-09-14 20:55:13 +12:00
parent d731d1bfc9
commit c69377f7b5
2 changed files with 8 additions and 0 deletions

View File

@@ -94,6 +94,13 @@ echo "Creating packages..."
echo "linux package build failed, refer to linux/package.log."
fi
) &
(
curl -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
echo "Package build done."

View File

@@ -20,5 +20,6 @@ upload mac OpenRA-${TAG}.zip
upload linux/deb openra_${LINUXVERSION}_all.deb
upload linux/rpm openra-${LINUXVERSION}-1.noarch.rpm
upload linux/arch openra-${LINUXVERSION}-1-any.pkg.tar.xz
upload . ${TAG}.tar.gz
curl http://${SERVER}/home/syncdownloads