1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-22 14:33:51 +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 id="navbar" class="hidden-sm hidden-xs">
<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>
</a>
</form>
@ -58,7 +58,7 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
Learn how classic game hardware worked.</br>
Write code and see it run instantly.
</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>
</a></p>
</div>

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. ./scripts/env.sh
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
DESTPATH=$RSYNC_PATH/

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