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

[fix] Upgrade on tagged release

This commit is contained in:
nemsia 2017-04-28 18:07:45 +02:00 committed by GitHub
parent e245bb18e4
commit 58661b14d2

View file

@ -38,8 +38,9 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
sudo systemctl stop mastodon-*.service
# Update Mastodon
pushd /opt/mastodon/live
sudo su - $app <<COMMANDS
cd live
pushd ~/live
git fetch
git pull https://github.com/tootsuite/mastodon.git master
git checkout $(git tag | tail -n 1)