release.sh 490 Bytes
Newer Older
1 2
if [ ! -f artifacts-linux.zip ]; then
    echo "Missing artifacts-linux.zip"
Drew's avatar
Drew committed
3 4
    exit 1
fi 
5 6
if [ ! -f artifacts-osx.zip ]; then
    echo "Missing artifacts-osx.zip"
Drew's avatar
Drew committed
7 8 9 10
    exit 1
fi 
echo "version to tag:"
read version
11 12 13 14
rm -rf /tmp/build
unzip artifacts-linux.zip -d /tmp/build/
tar c -C /tmp/build bin | pixz -9 -o atbuild-${version}-linux.tar.xz
rm -rf /tmp/build
Drew's avatar
Drew committed
15
mkdir -p /tmp/build
16
unzip artifacts-osx.zip -d /tmp/build/
Drew's avatar
Drew committed
17
tar c -C /tmp/build bin | pixz -9 -o atbuild-${version}-macosx.tar.xz