1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-25 00:31:04 +00:00
8bitworkshop/scripts/sync-tools.sh

9 lines
345 B
Bash
Raw Normal View History

2018-08-06 21:29:59 +00:00
#!/bin/bash
2018-07-26 15:50:20 +00:00
. ./scripts/env.sh
VERSION=`git tag | tail -1`
2018-07-26 15:50:20 +00:00
DESTPATH=$RSYNC_PATH/
git archive --format tar.gz --prefix 8bitworkshop- HEAD tools/ > release/8bitworkshop-tools.tgz
2019-01-17 18:04:42 +00:00
git archive --format zip --prefix 8bitworkshop- HEAD tools/ > release/8bitworkshop-tools.zip
rsync --stats -rpilvz --chmod=a+rx -e "ssh -p 2222" ./release $DESTPATH/