From 657c59fc2a713ce4b50fa95c1f321dd21398e625 Mon Sep 17 00:00:00 2001 From: tajniak81 <13187254+tajniak81@users.noreply.github.com> Date: Sat, 5 Sep 2026 17:30:08 +0200 Subject: [PATCH] Document bump.sh in the README Co-Authored-By: Claude Opus 5 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index e5549e4..48bc7b5 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,20 @@ docker buildx build \ -t pocketbase:0.40.2 . ``` +### Bumping the pinned version + +`bump.sh` rewrites the version in every file that pins it (`.env.example`, both +Dockerfiles, both Compose files, and this README) and commits the result: + +```bash +./bump.sh +``` + +Pass `--no-commit` to rewrite the files without committing. The script refuses +to run on a dirty working tree when it would commit, so unrelated changes don't +end up in the bump. When adding a new file that pins the version, add it to the +`FILES` list at the top of the script. + ## Health check Both images define a `HEALTHCHECK` that polls `http://127.0.0.1:${PB_PORT}/api/health`. Check status with: