mastodon_upgrade
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mastodon_upgrade [2024/10/26 15:00] – handle | mastodon_upgrade [2026/02/14 19:09] (current) – handle | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ====== Build a new version ====== | ====== Build a new version ====== | ||
| - | **As of October 2024, these instructions seem to lead to a festival of annoying merge conflicts. See below for alternative.** | + | |
| - | + | ||
| - | | + | |
| - | git checkout trunk | + | |
| git fetch upstream --tags | git fetch upstream --tags | ||
| - | | + | git checkout sunbeam-changes |
| - | git merge v$NEW_VERSION | + | git rebase $NEW_VERSION |
| - | git checkout trunk | + | |
| - | git merge merged-$NEW_VERSION | + | |
| - | git push | + | |
| - | + | ||
| - | Instead: | + | |
| - | + | ||
| - | export NEW_VERSION=4.2.0 | + | |
| - | git fetch upstream --tags | + | |
| - | | + | |
| - | git pull | + | |
| - | git rebase | + | |
| - | | + | |
| - | git checkout trunk | + | |
| - | git reset --hard v$NEW_VERSION | + | |
| - | git merge sunbeam-changes-new | + | |
| git push -f | git push -f | ||
| Line 43: | Line 26: | ||
| cd / | cd / | ||
| sudo -u services git pull | sudo -u services git pull | ||
| - | sudo docker-compose pull && \ | + | sudo -s |
| - | | + | |
| - | | + | docker-compose down && \ |
| - | | + | docker-compose up -d |
| + | docker-compose run --rm -e SKIP_POST_DEPLOYMENT_MIGRATIONS=true web bundle exec rails db:migrate | ||
mastodon_upgrade.1729954845.txt.gz · Last modified: 2024/10/26 15:00 by handle
