1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-01 13:50:30 +00:00
8bitworkshop/scripts/sync-tools.sh
2019-05-18 15:58:36 -04:00

9 lines
337 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" ./release $DESTPATH/