From 9ceac66b08ecb996a44f589f7761496412708396 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 14 Nov 2021 13:13:33 -0500 Subject: [PATCH 1/2] fix #1833 Modernize the list of os-arch pairs that get official release builds; add darwin/arm64 and openbsd/amd64, remove 386 and armv7, add plan9/amd64 for fun. --- .goreleaser.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index dcdbade7..e176b812 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -5,29 +5,37 @@ builds: - main: ergo.go binary: ergo goos: - - freebsd + - linux - windows - darwin - - linux + - freebsd + - openbsd + - plan9 goarch: - - "386" - amd64 - arm - arm64 goarm: - 6 - - 7 ignore: - goos: windows goarch: arm + - goos: windows + goarch: arm64 - goos: darwin goarch: arm - - goos: darwin - goarch: 386 - goos: freebsd goarch: arm - goos: freebsd goarch: arm64 + - goos: openbsd + goarch: arm + - goos: openbsd + goarch: arm64 + - goos: plan9 + goarch: arm + - goos: plan9 + goarch: arm64 flags: - -trimpath @@ -44,6 +52,7 @@ archives: files: - README - CHANGELOG.md + - LICENSE - ergo.motd - default.yaml - traditional.yaml From 250a95c8e5113624feda5fe4bcb9534ebe578af5 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 14 Nov 2021 13:24:14 -0500 Subject: [PATCH 2/2] include procedures for signing the checksums file --- DEVELOPING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DEVELOPING.md b/DEVELOPING.md index 8634e38b..ed612a86 100644 --- a/DEVELOPING.md +++ b/DEVELOPING.md @@ -43,9 +43,10 @@ Ergo vendors all dependencies using `go mod vendor`. To update a dependency, or 1. Commit the new changelog and constants change. 1. Tag the release with `git tag --sign v0.0.0 -m "Release v0.0.0"` (`0.0.0` replaced with the real ver number). 1. Build binaries using `make release` +1. Sign the checksums file with `gpg --detach-sig --default-key` 1. Smoke-test a built binary locally 1. Point of no return: `git push origin master --tags` (this publishes the tag; any fixes after this will require a new point release) -1. Publish the release on GitHub (Releases -> "Draft a new release"); use the new tag, post the changelog entries, upload the binaries +1. Publish the release on GitHub (Releases -> "Draft a new release"); use the new tag, post the changelog entries, upload the binaries, the checksums file, and the signature of the checksums file 1. Update the `irctest_stable` branch with the new changes (this may be a force push). 1. If it's a production release (as opposed to a release candidate), update the `stable` branch with the new changes. (This may be a force push in the event that stable contained a backport. This is fine because all stable releases and release candidates are tagged.) 1. Similarly, for a production release, update the `irctest_stable` branch (this is the branch used by upstream irctest to integration-test against Ergo).