1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Merge branch 'upgrade-from-pre-release' into master

This commit is contained in:
nemsia 2018-03-22 13:27:33 +01:00 committed by GitHub
commit a8d527d2ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -102,10 +102,9 @@ CLONECOMMANDS
# Switch branch to tagged release
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
pushd ~/live
git checkout $version
git checkout $(git tag -l | sort -V | tail -n 1)
SWITCHCOMMANDS
# Be king rewind (/var/cache/yunohost/from_file/scripts)

View file

@ -50,10 +50,9 @@ PULLCOMMANDS
# Switch branch to tagged release
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
pushd ~/live
git checkout $version
git checkout $(git tag -l | sort -V | tail -n 1)
SWITCHCOMMANDS
# upgrade Node.js v4 to v6