Add Linux arm64 release builds
This commit is contained in:
@@ -32,11 +32,13 @@ resource customization, and optional source auxiliaries. See the
|
|||||||
## Install
|
## Install
|
||||||
|
|
||||||
For releases that include binary assets, download
|
For releases that include binary assets, download
|
||||||
`notarius-<version>-linux-amd64` and `SHA256SUMS` from the corresponding
|
the binary matching your Linux architecture (`notarius-<version>-linux-amd64`
|
||||||
|
or `notarius-<version>-linux-arm64`) and `SHA256SUMS` from the corresponding
|
||||||
[hosted release](https://forge.maximumdirect.net/eric/notarius/releases), verify
|
[hosted release](https://forge.maximumdirect.net/eric/notarius/releases), verify
|
||||||
the binary against the checksum manifest, and install it on your `PATH`.
|
the binary against the checksum manifest, and install it on your `PATH`.
|
||||||
Replace `<version>` with the chosen stable tag (for example,
|
Replace `<version>` with the chosen stable tag (for example,
|
||||||
`vMAJOR.MINOR.PATCH`). Historical releases may not include binary assets.
|
`vMAJOR.MINOR.PATCH`). Available architectures depend on the selected release;
|
||||||
|
historical releases may not include binary assets.
|
||||||
|
|
||||||
### Build From Source
|
### Build From Source
|
||||||
|
|
||||||
|
|||||||
@@ -41,10 +41,10 @@ before declaring success or retrying; successful pushes do not require a
|
|||||||
separate remote read-back gate.
|
separate remote read-back gate.
|
||||||
|
|
||||||
Deliver the checked-in note as a hosted release page with the selected
|
Deliver the checked-in note as a hosted release page with the selected
|
||||||
Linux/amd64 binary and native checksum assets. Delivery is required but has a
|
Linux/amd64 and Linux/arm64 binaries and native checksum assets. Delivery is
|
||||||
separate outcome from source publication. The standard workflow delivers locally
|
required but has a separate outcome from source publication. The standard
|
||||||
from the matching tagged source. Signing and additional packaging
|
workflow delivers locally from the matching tagged source. Signing and additional
|
||||||
are not part of the current release workflow.
|
packaging are not part of the current release workflow.
|
||||||
|
|
||||||
## Versioning And Compatibility
|
## Versioning And Compatibility
|
||||||
|
|
||||||
@@ -180,14 +180,15 @@ Do not add routine confirmations for checks the command can perform itself.
|
|||||||
### Notarius Gate Selection
|
### Notarius Gate Selection
|
||||||
|
|
||||||
Run the native default offline Go suite once, build `cmd/notarius` for the
|
Run the native default offline Go suite once, build `cmd/notarius` for the
|
||||||
selected Linux/amd64 distribution target, and verify the native executable's
|
selected Linux/amd64 and Linux/arm64 distribution targets, and verify the native
|
||||||
injected version. ReleaseKit performs the version check on a host executable,
|
executable's injected version. ReleaseKit performs the version check on a host
|
||||||
building a temporary native executable when the distribution target differs.
|
executable, building a temporary native executable when needed. Cross-built
|
||||||
|
binaries do not require execution on target hardware.
|
||||||
Candidate build products are temporary; delivery builds from tagged source.
|
Candidate build products are temporary; delivery builds from tagged source.
|
||||||
Use `GOWORK=off` so a sibling checkout cannot substitute for declared dependencies.
|
Use `GOWORK=off` so a sibling checkout cannot substitute for declared dependencies.
|
||||||
|
|
||||||
Race tests, standalone vet, formatting/whitespace checks, module tidy audits,
|
Race tests, standalone vet, formatting/whitespace checks, module tidy audits,
|
||||||
standalone example validation, and Linux/Darwin cross-builds remain useful
|
standalone example validation, and additional cross-builds remain useful
|
||||||
change-specific development checks, not mandatory release gates. Default tests
|
change-specific development checks, not mandatory release gates. Default tests
|
||||||
already cover maintained examples. No broader binary distribution matrix or
|
already cover maintained examples. No broader binary distribution matrix or
|
||||||
platform hardware prerequisites are added.
|
platform hardware prerequisites are added.
|
||||||
@@ -246,7 +247,7 @@ identify:
|
|||||||
remote;
|
remote;
|
||||||
2. version and release-note preparation;
|
2. version and release-note preparation;
|
||||||
3. one publication command with its selected local checks and automated guards;
|
3. one publication command with its selected local checks and automated guards;
|
||||||
4. hosted delivery, required build target, and automation responsibilities;
|
4. hosted delivery, required build targets, and automation responsibilities;
|
||||||
5. separate source-publication and delivery outcomes; and
|
5. separate source-publication and delivery outcomes; and
|
||||||
6. publication and delivery failure recovery.
|
6. publication and delivery failure recovery.
|
||||||
|
|
||||||
|
|||||||
@@ -52,17 +52,17 @@ From the clean candidate on `main`, run:
|
|||||||
./scripts/releasekit publish vMAJOR.MINOR.PATCH
|
./scripts/releasekit publish vMAJOR.MINOR.PATCH
|
||||||
```
|
```
|
||||||
|
|
||||||
ReleaseKit validates the candidate once, checks the selected Linux/amd64 build
|
ReleaseKit validates the candidate once, checks the Linux/amd64 and Linux/arm64
|
||||||
and native version, and publishes the annotated tag. A confirmed tag publication
|
builds and native version, and publishes the annotated tag. A confirmed tag
|
||||||
completes the source release; it does not wait for delivery. The optional
|
publication completes the source release; it does not wait for delivery. The
|
||||||
`./scripts/releasekit check VERSION` is a diagnostic, not a mandatory
|
optional `./scripts/releasekit check VERSION` is a diagnostic, not a mandatory
|
||||||
preliminary repetition.
|
preliminary repetition.
|
||||||
|
|
||||||
## Deliver locally
|
## Deliver locally
|
||||||
|
|
||||||
After successful source publication, deliver the hosted note, Linux/amd64 binary,
|
After successful source publication, deliver the hosted note, Linux/amd64 and
|
||||||
and checksum assets from the same clean checkout, while `HEAD` still identifies
|
Linux/arm64 binaries, and checksum assets from the same clean checkout, while
|
||||||
the published tag's commit:
|
`HEAD` still identifies the published tag's commit:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./scripts/releasekit deliver vMAJOR.MINOR.PATCH
|
./scripts/releasekit deliver vMAJOR.MINOR.PATCH
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"main_package": "./cmd/notarius",
|
"main_package": "./cmd/notarius",
|
||||||
"binary_name": "notarius",
|
"binary_name": "notarius",
|
||||||
"targets": ["linux/amd64"]
|
"targets": ["linux/amd64", "linux/arm64"]
|
||||||
},
|
},
|
||||||
"delivery": {
|
"delivery": {
|
||||||
"forge": "gitea",
|
"forge": "gitea",
|
||||||
|
|||||||
Reference in New Issue
Block a user