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

[fix] Checkout Error

This commit is contained in:
nemsia 2017-05-21 15:14:07 +02:00
parent e0232cb78c
commit 6fe26b2bf1

View file

@ -54,7 +54,7 @@ sudo su - $app <<SWITCHCOMMANDS
pushd ~/live
url=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | sort -r | head -1 | cut -d\" -f4)
version=$(echo $url | cut -d/ -f8)
git checkout $(git tag $version)
git checkout $version
SWITCHCOMMANDS
# Apply Mastodon upgrade