Add stable release checklist
This commit is contained in:
@@ -96,6 +96,48 @@ Use the helper:
|
|||||||
9) Smoke test the flashed image on a second SD card:
|
9) Smoke test the flashed image on a second SD card:
|
||||||
- boot → first‑boot → dashboard → services
|
- boot → first‑boot → dashboard → services
|
||||||
|
|
||||||
|
## 5) Release checklist (stable)
|
||||||
|
1) Ensure `main` is clean and all changes are pushed.
|
||||||
|
2) Update `pikit-web/data/version.json` to the new version.
|
||||||
|
3) Build the web assets:
|
||||||
|
- `npm --prefix pikit-web run build`
|
||||||
|
4) Run tests:
|
||||||
|
- `npm --prefix pikit-web test`
|
||||||
|
- `./pikit-smoke-test.sh`
|
||||||
|
5) Commit version bump and push.
|
||||||
|
6) Tag the release:
|
||||||
|
- `git tag vX.Y.Z && git push origin vX.Y.Z`
|
||||||
|
7) Build release bundle + manifest:
|
||||||
|
- `./tools/release/make-release.sh X.Y.Z https://git.44r0n.cc/44r0n7/pi-kit/releases/download/vX.Y.Z`
|
||||||
|
8) Generate changelog from git:
|
||||||
|
- `git log --pretty=format:'- %s (%h)' vPREV..HEAD > out/releases/CHANGELOG-X.Y.Z.txt`
|
||||||
|
9) Create the Gitea release and upload assets:
|
||||||
|
- `pikit-X.Y.Z.tar.gz`
|
||||||
|
- `manifest.json`
|
||||||
|
- `CHANGELOG-X.Y.Z.txt`
|
||||||
|
10) Update `manifests/manifest-stable.json` with new version + sha256 and push.
|
||||||
|
|
||||||
|
## 5) Release checklist (stable)
|
||||||
|
1) Ensure `main` is clean and all changes are pushed.
|
||||||
|
2) Update `pikit-web/data/version.json` to the new version.
|
||||||
|
3) Build the web assets:
|
||||||
|
- `npm --prefix pikit-web run build`
|
||||||
|
4) Run tests:
|
||||||
|
- `npm --prefix pikit-web test`
|
||||||
|
- `./pikit-smoke-test.sh`
|
||||||
|
5) Commit version bump and push.
|
||||||
|
6) Tag the release:
|
||||||
|
- `git tag vX.Y.Z && git push origin vX.Y.Z`
|
||||||
|
7) Build release bundle + manifest:
|
||||||
|
- `./tools/release/make-release.sh X.Y.Z https://git.44r0n.cc/44r0n7/pi-kit/releases/download/vX.Y.Z`
|
||||||
|
8) Generate changelog from git:
|
||||||
|
- `git log --pretty=format:'- %s (%h)' vPREV..HEAD > out/releases/CHANGELOG-X.Y.Z.txt`
|
||||||
|
9) Create the Gitea release and upload assets:
|
||||||
|
- `pikit-X.Y.Z.tar.gz`
|
||||||
|
- `manifest.json`
|
||||||
|
- `CHANGELOG-X.Y.Z.txt`
|
||||||
|
10) Update `manifests/manifest-stable.json` with new version + sha256 and push.
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
- Profiles are additive to the base image defaults; do not include Pi‑Kit or DietPi dashboard entries in profiles.
|
- Profiles are additive to the base image defaults; do not include Pi‑Kit or DietPi dashboard entries in profiles.
|
||||||
- Keep `RESCUE.md` in `/root` and `/home/dietpi` only (not in `/var/www`).
|
- Keep `RESCUE.md` in `/root` and `/home/dietpi` only (not in `/var/www`).
|
||||||
|
|||||||
Reference in New Issue
Block a user