Repository navigation
v0.2.2
bin/update is now the whole deploy for servers that run the app from a git checkout: backup, update, restart, health check and automatic rollback.
New
- One-command deploys: with a server's own
config/server.yml(copyconfig/server.example.yml),bin/update vX.Y.Zdoes all of this in order:- loads the app's environment
- backs up the SQLite databases
- checks out the release, installs gems, migrates and precompiles assets
- restarts the app
- waits until
/upanswers with the new version
- Automatic rollback: if any step after the backup fails, it goes back to the previous release, restarts it and says where the backup is.
- Version on
/up: it now sends the running version in anX-App-Versionheader.
Improved
AGENTS.md→ Deploying a release: one long-lived checkout per server, deployed only withbin/update.
Upgrade notes
- No migrations, secrets or app settings.
- Without
config/server.yml,bin/updateworks as before: it updates the checkout, and you restart. - The first time you use the new deploy, the checkout still has the old
bin/update. Rungit fetch --tags && git checkout v0.2.2, thenbin/update v0.2.2.