mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
[fix] Install and Upgrade to tag n-1 (#39)
This commit is contained in:
parent
a10d77fe4f
commit
e8870da4b3
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -54,7 +54,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
|
||||
|
||||
# upgrade Node.js v4 to v6
|
||||
|
|
Loading…
Add table
Reference in a new issue