mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Update install
This commit is contained in:
parent
c687c56305
commit
1b737b0c64
1 changed files with 2 additions and 1 deletions
|
@ -102,9 +102,10 @@ CLONECOMMANDS
|
||||||
|
|
||||||
# Switch branch to tagged release
|
# Switch branch to tagged release
|
||||||
cd $final_path/live
|
cd $final_path/live
|
||||||
|
version=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | grep tag_name | cut -d\" -f4)
|
||||||
sudo su - $app <<SWITCHCOMMANDS
|
sudo su - $app <<SWITCHCOMMANDS
|
||||||
pushd ~/live
|
pushd ~/live
|
||||||
git checkout $(git tag -l | sort -V | tail -n 1)
|
git checkout $version
|
||||||
SWITCHCOMMANDS
|
SWITCHCOMMANDS
|
||||||
|
|
||||||
# Be king rewind (/var/cache/yunohost/from_file/scripts)
|
# Be king rewind (/var/cache/yunohost/from_file/scripts)
|
||||||
|
|
Loading…
Reference in a new issue