;doc:ghrelnotes, RELEASING: plan for immutable github releases

This commit is contained in:
Simon Michael 2025-10-31 09:22:44 -10:00
parent 2b15846636
commit 9bfa3862c6
2 changed files with 11 additions and 0 deletions

View File

@ -156,6 +156,7 @@ It should be improved each time it is used.
`just ghbin-download` <!-- (or if throttled: `just ghbin-open`, download to tmp/, unzip the unix ones) -->
`just ghrel-bin-upload VER`
- github release published
decide if release should be immutable (artifacts attached, all correct ?) then adjust repo settings
review,
publish
- github nightly release updated

View File

@ -53,6 +53,16 @@ If you have [eget](https://github.com/zyedidia/eget), that's a convenient way to
eget simonmichael/hledger --all
```
From hledger 1.51 on, the github releases are immutable, and can be verified as follows:
```
gh --version # ensure you have github CLI 2.81.0+
gh release verify $REL # check the $REL github release is immutable
curl -fLO https://github.com/simonmichael/hledger/releases/download/$REL/hledger-linux-x64.tar.gz # eg
gh release verify-asset $REL ./hledger-linux-x64.tar.gz # check the tarball is correct
tar xzv -f hledger-linux-x64.tar.gz -C/usr/local/bin hledger hledger-ui hledger-web
```
Otherwise:
</xdetails>