mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-02-16 17:30:27 +00:00
11 lines
418 B
Bash
11 lines
418 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
. ./scripts/env.sh
|
||
|
DESTPATH=$RSYNC_PATH/
|
||
|
echo "Upload HEAD to production? [Press Enter]"
|
||
|
read
|
||
|
git ls-files -z | rsync --stats --exclude '.*' --exclude 'scripts/*' --exclude=node_modules -aril -e "ssh -p 2222" --files-from - -0 . $DESTPATH
|
||
|
git archive --format tar.gz --prefix 8bitworkshop- HEAD tools/ > release/8bitworkshop-tools.tgz
|
||
|
#rsync --stats -arilvz -e "ssh -p 2222" ./mame $DESTPATH/
|
||
|
echo "Done."
|