summaryrefslogtreecommitdiffstatshomepage
path: root/utils/generate_changelog.sh
blob: 05e7e9e6137bc09068a0bed2a444a70cf5d00d08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#|/usr/bin/env sh

script_dir=$(dirname -- "$(readlink -f "$0")")

sed '/^$/q' "$script_dir"/../docs/CHANGELOG.md

echo '## Verifying the release

0. Import my gpg public key into your keyring (you only need to do this once, not for every release):

```bash
gpg --auto-key-locate clear,wkd --locate-keys sommerfeld@sommerfeld.dev
```

1. Download `sentrum-%s-manifest.txt` and `sentrum-%s-manifest.txt.asc` to the same directory where you are downloading the binary.
2. Verify the gpg signature is mine (should ouput `Good signature`)`:

```bash
gpg --verify sentrum-%s-manifest.txt.asc
```

3. Verify the checksums of the binaries (should output `OK`):

```bash
sha256sum --check  --ignore-missing sentrum-%s-manifest.txt
```' | sed "s/%s/$1/g"