1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-21 23:30:58 +00:00
8bitworkshop/scripts/sync-tools.sh
2018-08-13 17:25:05 -04:00

8 lines
252 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
rsync --stats -rpilvz --chmod=a+rx -e "ssh -p 2222" ./release $DESTPATH/