aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-28 13:30:04 +0200
committerGitHub <noreply@github.com>2017-04-28 13:30:04 +0200
commitf79e0148cb4f388402a671f36087570ab0041b0d (patch)
treeb8cd7041003949c1dc35a68cf9f3e4b321a0491b
parent2aedf332e75226b6db68b4bde75a0aaf05acc029 (diff)
downloadmastodon_ynh-f79e0148cb4f388402a671f36087570ab0041b0d.tar.gz
mastodon_ynh-f79e0148cb4f388402a671f36087570ab0041b0d.tar.bz2
mastodon_ynh-f79e0148cb4f388402a671f36087570ab0041b0d.zip
[enh] Install tagged releases
-rw-r--r--scripts/install2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install
index ed2b1e7..67e69b0 100644
--- a/scripts/install
+++ b/scripts/install
@@ -87,6 +87,8 @@ sudo su - $app <<CLONECOMMANDS
git clone https://github.com/rbenv/rbenv.git $final_path/.rbenv
git clone https://github.com/rbenv/ruby-build.git $final_path/.rbenv/plugins/ruby-build
git clone https://github.com/tootsuite/mastodon.git $final_path/live
+cd $final_path/live
+git checkout $(git tag | tail -n 1)
CLONECOMMANDS
# Be king rewind (/var/cache/yunohost/from_file/scripts)