From f7dd8f88f0f527fc28be77e9bcd937fc484573e8 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 24 Apr 2024 02:36:01 +0100 Subject: Automatically generate changelog on release --- utils/generate_changelog.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 utils/generate_changelog.sh (limited to 'utils/generate_changelog.sh') diff --git a/utils/generate_changelog.sh b/utils/generate_changelog.sh new file mode 100755 index 0000000..05e7e9e --- /dev/null +++ b/utils/generate_changelog.sh @@ -0,0 +1,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" -- cgit v1.2.3-70-g09d2