Document the release checklist: registry upload is separate from release attachments
A release only visible as an attachment does not reach apt; the Debian registry pool upload is a second, required step. Learned the hard way when v0.2.1 shipped without it and machines stayed on 0.2.0.
This commit is contained in:
1 parent
a74b95dca7
commit
f697963705
1 file changed
+18
@@ -161,6 +161,24 @@ export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=/tmp/lld-bin/ld.lld
|
||||
The `--no-strip` matters: the release profile already strips via the
|
||||
linker, and the host `strip` cannot read aarch64 objects.
|
||||
|
||||
#### Publishing a release (checklist)
|
||||
|
||||
A release is visible in two **separate** places, and both must be fed or
|
||||
`apt upgrade` silently stays on the old version:
|
||||
|
||||
1. **Release attachments** (manual downloads):
|
||||
`POST /api/v1/repos/bmaeuser/btle-proximity/releases` with the tag, then
|
||||
upload the debs (and the beacon APK) as release assets.
|
||||
2. **Debian package registry** (what `apt update` actually reads):
|
||||
```sh
|
||||
curl --upload-file btle-proximity_0.2.1-1_amd64.deb \
|
||||
-u bmaeuser:<token> \
|
||||
https://git.netz.org/api/packages/bmaeuser/debian/pool/stable/main/upload
|
||||
# repeat for arm64; then verify the new version appears in:
|
||||
curl https://git.netz.org/api/packages/bmaeuser/debian/dists/stable/main/binary-amd64/Packages
|
||||
curl https://git.netz.org/api/packages/bmaeuser/debian/dists/stable/main/binary-arm64/Packages
|
||||
```
|
||||
|
||||
### Manual install (dev flow)
|
||||
|
||||
The unit in `systemd/` runs the cargo-installed binary
|
||||
|
||||
Reference in new issue
Block a user