diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-29 23:58:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-29 23:58:25 +0200 |
| commit | 3b3f95cfe38c83499a183518038c4db8119a3acf (patch) | |
| tree | 2bdea6d088a63a79b1d40dfe65a96c64b8557afc /scripts | |
| parent | 2cef464c6ba44226baf0a1f0f6a512145b3929ea (diff) | |
| download | mastodon_ynh-3b3f95cfe38c83499a183518038c4db8119a3acf.tar.gz mastodon_ynh-3b3f95cfe38c83499a183518038c4db8119a3acf.tar.bz2 mastodon_ynh-3b3f95cfe38c83499a183518038c4db8119a3acf.zip | |
[enh] Switch tagged release on install
Work with 1.3.2
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/install | 4 |
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 |
