Verified Commit dbec8c09 authored by Aral Balkan's avatar Aral Balkan
Browse files

Test deploy 12.6.0 with Windows binary

parent 64d405ba
module.exports = (request, response) => { response.end('12.5.1') }
module.exports = (request, response) => { response.end('12.6.0') }
......@@ -2,7 +2,7 @@
######################################################################
#
# Site.js v12.5.1 Installer
# Site.js v12.6.0 Installer
#
# To use:
#
......@@ -15,7 +15,7 @@
set -e
echo
echo " 📡 Downloading Site.js v12.5.1…"
echo " 📡 Downloading Site.js v12.6.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.5.1.tar.gz
wget -q https://sitejs.org/releases/linux/12.6.0.tar.gz
elif [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
curl -Os https://sitejs.org/releases/macos/12.5.1.tar.gz
curl -Os https://sitejs.org/releases/macos/12.6.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.5.1.tar.gz
tar -xvf 12.5.1.tar > /dev/null 2>&1
gzip -d 12.6.0.tar.gz
tar -xvf 12.6.0.tar > /dev/null 2>&1
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