diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-27 22:34:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-27 22:34:49 +0200 |
| commit | 9d73a23ac8fbe8b45071afb3ee9b9ad7700b9ecf (patch) | |
| tree | 60146a0bac20c16c21cbf4b635361871ccdb02d5 | |
| parent | cc04c85f305a7d901c058d3263c5cce604eb660d (diff) | |
| download | mastodon_ynh-9d73a23ac8fbe8b45071afb3ee9b9ad7700b9ecf.tar.gz mastodon_ynh-9d73a23ac8fbe8b45071afb3ee9b9ad7700b9ecf.tar.bz2 mastodon_ynh-9d73a23ac8fbe8b45071afb3ee9b9ad7700b9ecf.zip | |
[enh] Install tagged release
| -rw-r--r-- | scripts/install | 2 |
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) |
