mastodon_upgrade
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mastodon_upgrade [2025/11/07 23:01] ā handle | mastodon_upgrade [2026/04/25 20:27] (current) ā handle | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ====== Build a new version ====== | ====== Build a new version ====== | ||
| - | **New_instructions_final_FINAL_Nov2025.docx**Ā | + | |
| - | Ā | + | |
| - | //Theme still broken š//Ā | + | |
| - | Ā | + | |
| - | | + | |
| git fetch upstream --tags | git fetch upstream --tags | ||
| git checkout sunbeam-changes | git checkout sunbeam-changes | ||
| - | git rebase | + | git rebase |
| # fix some probably annoying merge conflicts | # fix some probably annoying merge conflicts | ||
| git push -f | git push -f | ||
| - | < | + | Then check [[https:// |
| - | Ā | + | |
| - | export NEW_VERSION=4.2.0 | + | |
| - | git checkout trunkĀ | + | |
| - | git fetch upstream --tagsĀ | + | |
| - | git checkout -b merged-$NEW_VERSIONĀ | + | |
| - | git merge v$NEW_VERSIONĀ | + | |
| - | git checkout trunkĀ | + | |
| - | git merge merged-$NEW_VERSIONĀ | + | |
| - | git pushĀ | + | |
| - | Ā | + | |
| - | < | + | |
| - | Ā | + | |
| - | export NEW_VERSION=4.2.0 | + | |
| - | git fetch upstream --tagsĀ | + | |
| - | git checkout sunbeam-changes-newĀ | + | |
| - | git pullĀ | + | |
| - | git rebase v$NEW_VERSIONĀ | + | |
| - | git push -fĀ | + | |
| - | git checkout trunkĀ | + | |
| - | git reset --hard v$NEW_VERSIONĀ | + | |
| - | git merge sunbeam-changes-newĀ | + | |
| - | git push -fĀ | + | |
| - | Ā | + | |
| - | Then check [[https:// | + | |
| ====== Deploy the new version ====== | ====== Deploy the new version ====== | ||
| Line 54: | 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.1762556473.txt.gz Ā· Last modified: by handle
