aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2018-04-06 13:31:43 +0200
committerGitHub <noreply@github.com>2018-04-06 13:31:43 +0200
commit1d7613889c5e0ef976e3ed63e4ad82516508f5a9 (patch)
treeee7f010fd8a4a77a5d9d873db0a10e774e82fcc7 /scripts/upgrade
parent6218a686a1eafe3d7d2cab3a9b9637d59333c455 (diff)
downloadmastodon_ynh-1d7613889c5e0ef976e3ed63e4ad82516508f5a9.tar.gz
mastodon_ynh-1d7613889c5e0ef976e3ed63e4ad82516508f5a9.tar.bz2
mastodon_ynh-1d7613889c5e0ef976e3ed63e4ad82516508f5a9.zip
Remove hotfix
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 323238d..50904f1 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -50,8 +50,7 @@ PULLCOMMANDS
# Switch branch to tagged release
cd $final_path/live
-#version=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | grep tag_name | cut -d\" -f4)
-version=v2.3.2
+version=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | grep tag_name | cut -d\" -f4)
sudo su - $app <<SWITCHCOMMANDS
pushd ~/live
git checkout $version