mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-12-26 22:31:14 +00:00
15 lines
372 B
Bash
Executable File
15 lines
372 B
Bash
Executable File
# https://github.com/Kentzo/git-archive-all
|
|
# build archives
|
|
export VERSION=`git tag | tail -1`
|
|
export PREFIX=8bitworkshop-$VERSION
|
|
echo "Run make dist first!"
|
|
mv tmp/dist tmp/$PREFIX
|
|
cd tmp
|
|
zip -9rf ../release/$PREFIX.zip $PREFIX
|
|
cd ..
|
|
|
|
# copy to remote
|
|
DESTPATH=$RSYNC_PATH/release/
|
|
echo "Copy to $DESTPATH"
|
|
rsync -rv --progress --stats -e "ssh" release/*.zip $DESTPATH
|