diff options
| author | nemsia <nemsia@nemsia.org> | 2017-05-29 13:32:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-29 13:32:23 +0200 |
| commit | e8870da4b377fe6ef5671ff869b4f3c821ac6432 (patch) | |
| tree | 480df5ad8af9a57a84a76239989fb495c4a4e358 /scripts/install | |
| parent | a10d77fe4f348ecad1304435cbcd5bd344a304df (diff) | |
| download | mastodon_ynh-e8870da4b377fe6ef5671ff869b4f3c821ac6432.tar.gz mastodon_ynh-e8870da4b377fe6ef5671ff869b4f3c821ac6432.tar.bz2 mastodon_ynh-e8870da4b377fe6ef5671ff869b4f3c821ac6432.zip | |
[fix] Install and Upgrade to tag n-1 (#39)
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install index 1634c52..e747241 100644 --- a/scripts/install +++ b/scripts/install @@ -99,7 +99,7 @@ url=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | version=$(echo $url | cut -d/ -f8) sudo su - $app <<SWITCHCOMMANDS pushd ~/live -git checkout $version +git checkout $(git tag | tail -n 1) SWITCHCOMMANDS # Be king rewind (/var/cache/yunohost/from_file/scripts) |
