diff options
| author | mtg0001 <106211915+mtg0001@users.noreply.github.com> | 2026-08-04 10:18:01 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-04 10:18:01 -0300 |
| commit | f6c5b813075cae4228d241a3567e70b210504749 (patch) | |
| tree | 8d408438f3579a6a170be4d04cc68d33ab292782 /Makefile | |
| parent | 530f91910a4eceb6705d1212fa0e3ebe8418c6a3 (diff) | |
Add release verification tooling (#108)
Co-authored-by: Gilcimar Duarte <ti@gpm.infra>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
| @@ -3,6 +3,8 @@ | |||
| 3 | # make linux build Bitflash-*-x86_64.AppImage | 3 | # make linux build Bitflash-*-x86_64.AppImage |
| 4 | # make windows build Bitflash-*-windows.zip (from MSYS2 UCRT64) | 4 | # make windows build Bitflash-*-windows.zip (from MSYS2 UCRT64) |
| 5 | # make tests build and run standalone unit tests | 5 | # make tests build and run standalone unit tests |
| 6 | # make checksums create SHA256SUMS for release assets | ||
| 7 | # make verify-release TAG=v1.2.13 | ||
| 6 | # make clean remove build artifacts | 8 | # make clean remove build artifacts |
| 7 | 9 | ||
| 8 | ROOT := $(shell pwd) | 10 | ROOT := $(shell pwd) |
| @@ -160,5 +162,15 @@ clean: | |||
| 160 | tests: | 162 | tests: |
| 161 | $(MAKE) -C src -f Makefile tests | 163 | $(MAKE) -C src -f Makefile tests |
| 162 | 164 | ||
| 165 | checksums: | ||
| 166 | ./scripts/make-release-checksums.sh | ||
| 167 | |||
| 168 | sign-checksums: | ||
| 169 | ./scripts/make-release-checksums.sh --sign $(if $(KEY),--local-user $(KEY),) | ||
| 170 | |||
| 171 | verify-release: | ||
| 172 | ./scripts/verify-release.sh $(if $(TAG),$(TAG),latest) | ||
| 173 | |||
| 163 | .PHONY: linux windows clean appimage \ | 174 | .PHONY: linux windows clean appimage \ |
| 164 | tests deps-linux deps-windows deps-apt deps-secp256k1 deps-randomx | 175 | tests checksums sign-checksums verify-release \ |
| 176 | deps-linux deps-windows deps-apt deps-secp256k1 deps-randomx | ||