1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-06-17 03:29:55 +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

View File

@ -41,7 +41,7 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
</div> </div>
<div id="navbar" class="hidden-sm hidden-xs"> <div id="navbar" class="hidden-sm hidden-xs">
<form class="navbar-form navbar-right"> <form class="navbar-form navbar-right">
<a class="btn btn-default" href="redir.html" role="button">Continue to 8bitworkshop IDE <a class="btn btn-default" href="redir.html?" role="button">Continue to 8bitworkshop IDE
<span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span> <span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span>
</a> </a>
</form> </form>
@ -58,7 +58,7 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
Learn how classic game hardware worked.</br> Learn how classic game hardware worked.</br>
Write code and see it run instantly. Write code and see it run instantly.
</p> </p>
<p><a class="btn btn-primary btn-lg" href="redir.html" role="button">Continue to 8bitworkshop IDE <p><a class="btn btn-primary btn-lg" href="redir.html?" role="button">Continue to 8bitworkshop IDE
<span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span> <span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span>
</a></p> </a></p>
</div> </div>

View File

@ -1,14 +1,15 @@
<html> <html>
<head> <head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Pragma" content="no-store" />
<meta http-equiv="Expires" content="0" /> <meta http-equiv="Expires" content="0" />
</head> </head>
<script> <script>
var VERSION = '2.1.1'; var VERSION = '3.0.0';
document.location.href = 'v' + VERSION + '/' + document.location.search; var QS = document.location.search || '?';
document.location.href = 'v' + VERSION + '/' + QS;
</script> </script>
<body> <body>

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
. ./scripts/env.sh . ./scripts/env.sh
rsync --stats -rilv -e "ssh -p 2222" ./blog/ $RSYNC_PATH/blog/ rsync --stats -rilv -e "ssh -p 2222" ./blog/ $RSYNC_PATH/blog/

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
. ./scripts/env.sh . ./scripts/env.sh
DESTPATH=$RSYNC_PATH/dev/ DESTPATH=$RSYNC_PATH/dev/

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."

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/

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
. ./scripts/env.sh . ./scripts/env.sh
DESTPATH=$RSYNC_PATH/ DESTPATH=$RSYNC_PATH/

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
. ./scripts/env.sh . ./scripts/env.sh
VERSION=`git tag | tail -1` VERSION=`git tag | tail -1`
@ -9,7 +9,7 @@ if [ "$VERSION" == "" ]; then
fi fi
DESTPATH=$RSYNC_PATH/v$VERSION DESTPATH=$RSYNC_PATH/v$VERSION
DEVPATH=/var/www/8bitworkshop.com/dev DEVPATH=/var/www/8bitworkshop.com/dev
TMPDIR=/tmp/8bitws/$VERSION TMPDIR=./tmp/$VERSION
grep "var VERSION" redir.html grep "var VERSION" redir.html
echo "Upload version $VERSION to production? (edited redir.html?)" echo "Upload version $VERSION to production? (edited redir.html?)"
read read