1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-26 10:49:17 +00:00
8bitworkshop/scripts/sync-tools.sh
2019-01-17 13:04:42 -05:00

9 lines
345 B
Bash
Executable File

#!/bin/bash
. ./scripts/env.sh
VERSION=`git tag | tail -1`
DESTPATH=$RSYNC_PATH/
git archive --format tar.gz --prefix 8bitworkshop- HEAD tools/ > release/8bitworkshop-tools.tgz
git archive --format zip --prefix 8bitworkshop- HEAD tools/ > release/8bitworkshop-tools.zip
rsync --stats -rpilvz --chmod=a+rx -e "ssh -p 2222" ./release $DESTPATH/