Verified Commit 33dbdc78 authored by Aral Balkan's avatar Aral Balkan
Browse files

Deploy version 12.2.0: full dynamic route support (HTTPS and WSS)

parent b7edd991
module.exports = (request, response) => { response.end('12.1.1') }
module.exports = (request, response) => { response.end('12.2.0') }
......@@ -2,7 +2,7 @@
######################################################################
#
# Site.js v12.1.1 Installer
# Site.js v12.2.0 Installer
#
# To use:
#
......@@ -15,7 +15,7 @@
set -e
echo
echo " 📡 Downloading Site.js v12.1.1…"
echo " 📡 Downloading Site.js v12.2.0…"
function cleanUp {
popd > /dev/null
......@@ -29,10 +29,10 @@ pushd /tmp/sitejs.org > /dev/null
if [[ "$OSTYPE" == "linux-gnu" ]]; then
# Linux
wget -q https://sitejs.org/releases/linux/12.1.1.tar.gz
wget -q https://sitejs.org/releases/linux/12.2.0.tar.gz
elif [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
wget -q https://sitejs.org/releases/macos/12.1.1.tar.gz
wget -q https://sitejs.org/releases/macos/12.2.0.tar.gz
else
# Unsupported
echo "\n ❌ Error: this operating system is not supported.\n"
......@@ -41,8 +41,8 @@ else
fi
echo " 📦 Installing…"
gzip -d 12.1.1.tar.gz
tar -xvf 12.1.1.tar > /dev/null
gzip -d 12.2.0.tar.gz
tar -xvf 12.2.0.tar > /dev/null
sudo mv site /usr/local/bin/
cleanUp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment