Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f697963705 |
@@ -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
|
The `--no-strip` matters: the release profile already strips via the
|
||||||
linker, and the host `strip` cannot read aarch64 objects.
|
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)
|
### Manual install (dev flow)
|
||||||
|
|
||||||
The unit in `systemd/` runs the cargo-installed binary
|
The unit in `systemd/` runs the cargo-installed binary
|
||||||
|
|||||||
Reference in new issue
Block a user