Ver código fonte

Merge pull request #1834 from slingamn/goreleaser

fix #1833
tags/v2.9.0-rc1
Shivaram Lingamneni 2 anos atrás
pai
commit
208a6706c5
Nenhuma conta vinculada ao e-mail do autor do commit
2 arquivos alterados com 17 adições e 7 exclusões
  1. 15
    6
      .goreleaser.yml
  2. 2
    1
      DEVELOPING.md

+ 15
- 6
.goreleaser.yml Ver arquivo

@@ -5,29 +5,37 @@ builds:
5 5
   - main: ergo.go
6 6
     binary: ergo
7 7
     goos:
8
-      - freebsd
8
+      - linux
9 9
       - windows
10 10
       - darwin
11
-      - linux
11
+      - freebsd
12
+      - openbsd
13
+      - plan9
12 14
     goarch:
13
-      - "386"
14 15
       - amd64
15 16
       - arm
16 17
       - arm64
17 18
     goarm:
18 19
       - 6
19
-      - 7
20 20
     ignore:
21 21
       - goos: windows
22 22
         goarch: arm
23
+      - goos: windows
24
+        goarch: arm64
23 25
       - goos: darwin
24 26
         goarch: arm
25
-      - goos: darwin
26
-        goarch: 386
27 27
       - goos: freebsd
28 28
         goarch: arm
29 29
       - goos: freebsd
30 30
         goarch: arm64
31
+      - goos: openbsd
32
+        goarch: arm
33
+      - goos: openbsd
34
+        goarch: arm64
35
+      - goos: plan9
36
+        goarch: arm
37
+      - goos: plan9
38
+        goarch: arm64
31 39
     flags:
32 40
       - -trimpath
33 41
 
@@ -44,6 +52,7 @@ archives:
44 52
     files:
45 53
       - README
46 54
       - CHANGELOG.md
55
+      - LICENSE
47 56
       - ergo.motd
48 57
       - default.yaml
49 58
       - traditional.yaml

+ 2
- 1
DEVELOPING.md Ver arquivo

@@ -43,9 +43,10 @@ Ergo vendors all dependencies using `go mod vendor`. To update a dependency, or
43 43
 1. Commit the new changelog and constants change.
44 44
 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).
45 45
 1. Build binaries using `make release`
46
+1. Sign the checksums file with `gpg --detach-sig --default-key`
46 47
 1. Smoke-test a built binary locally
47 48
 1. Point of no return: `git push origin master --tags` (this publishes the tag; any fixes after this will require a new point release)
48
-1. Publish the release on GitHub (Releases -> "Draft a new release"); use the new tag, post the changelog entries, upload the binaries
49
+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
49 50
 1. Update the `irctest_stable` branch with the new changes (this may be a force push).
50 51
 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.)
51 52
 1. Similarly, for a production release, update the `irctest_stable` branch (this is the branch used by upstream irctest to integration-test against Ergo).

Carregando…
Cancelar
Salvar