aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install
index 5d1e75e..1b82828 100644
--- a/scripts/install
+++ b/scripts/install
@@ -89,6 +89,10 @@ git clone https://github.com/rbenv/ruby-build.git $final_path/.rbenv/plugins/rub
git clone https://github.com/tootsuite/mastodon.git $final_path/live
CLONECOMMANDS
+# Switch to tagged release
+pushd $final_path/live
+sudo git checkout $(git tag | tail -n 1)
+
# Be king rewind (/var/cache/yunohost/from_file/scripts)
popd