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

Merge branch 'master' into master

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

View file

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

View file

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