mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-21 23:30:58 +00:00
updated redir.html and tools
This commit is contained in:
parent
1a4d088ce2
commit
b6604faf67
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
. ./scripts/env.sh
|
||||
rsync --stats -rilv -e "ssh -p 2222" ./blog/ $RSYNC_PATH/blog/
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
. ./scripts/env.sh
|
||||
DESTPATH=$RSYNC_PATH/dev/
|
||||
|
@ -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."
|
@ -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,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
. ./scripts/env.sh
|
||||
DESTPATH=$RSYNC_PATH/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user