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

Deploy Site.js v12.5.0 (macOS Catalina support)

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