1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-26 10:21:30 +00:00

updated redir.html and tools

This commit is contained in:
Steven Hugg
2018-08-06 17:29:59 -04:00
parent 1a4d088ce2
commit b6604faf67
8 changed files with 12 additions and 27 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. ./scripts/env.sh
rsync --stats -rilv -e "ssh -p 2222" ./blog/ $RSYNC_PATH/blog/
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. ./scripts/env.sh
DESTPATH=$RSYNC_PATH/dev/
-10
View File
@@ -1,10 +0,0 @@
#!/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 -ril -e "ssh -p 2222" --files-from - -0 . $DESTPATH
git archive --format tar.gz --prefix 8bitworkshop- HEAD tools/ > release/8bitworkshop-tools.tgz
#rsync --stats -rilvz -e "ssh -p 2222" ./mame $DESTPATH/
echo "Done."
-6
View File
@@ -1,6 +0,0 @@
#!/bin/sh
DESTPATH=$RSYNC_PATH/staging/
git ls-files -z | rsync --stats --exclude '.*' --exclude 'scripts/*' --exclude=node_modules -ril -e "ssh -p 2222" --files-from - -0 . $DESTPATH
git archive --format tar.gz --prefix 8bitworkshop- HEAD tools/ > release/8bitworkshop-tools.tgz
rsync --stats -rilvz -e "ssh -p 2222" ./mame $DESTPATH/
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. ./scripts/env.sh
DESTPATH=$RSYNC_PATH/
+2 -2
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. ./scripts/env.sh
VERSION=`git tag | tail -1`
@@ -9,7 +9,7 @@ if [ "$VERSION" == "" ]; then
fi
DESTPATH=$RSYNC_PATH/v$VERSION
DEVPATH=/var/www/8bitworkshop.com/dev
TMPDIR=/tmp/8bitws/$VERSION
TMPDIR=./tmp/$VERSION
grep "var VERSION" redir.html
echo "Upload version $VERSION to production? (edited redir.html?)"
read