diff options
Diffstat (limited to 'scripts/upgrade')
| -rw-r--r-- | scripts/upgrade | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade index ea548b9..f070bbd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -50,7 +50,10 @@ PULLCOMMANDS # Switch branch to tagged release cd $final_path/live -sudo git checkout $(git tag | tail -n 1) +sudo su - $app <<SWITCHCOMMANDS +pushd ~/live +git checkout $(git tag | tail -n 1) +SWITCHCOMMANDS # Apply Mastodon upgrade sudo su - $app <<COMMANDS |
