diff options
| author | nytpu <alex@nytpu.com> | 2021-05-10 17:57:34 -0600 |
|---|---|---|
| committer | nytpu <alex@nytpu.com> | 2021-05-11 11:22:17 -0600 |
| commit | 675a9be1836b4d74b93e8c55c44e8253166a9019 (patch) | |
| tree | 468005c4a40820d1bf21c1ce3065e13929ef565e | |
| parent | e4ac9463b11cb8dd92e1c4eb143d7ce1e17b0e47 (diff) | |
move scdoc hooks and add checksum to releases
| -rw-r--r-- | .goreleaser.yml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml index 25249d3..2ea42b8 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,7 @@ +before: + hooks: + - scdoc < doc/comitium.1.scd > dist/comitum.1 + - echo "Don't forget to move dist/comitium.1 to the release directory" builds: - env: - CGO_ENABLED=0 @@ -39,10 +43,6 @@ builds: ldflags: - -s -w -X golang.nytpu.com/comitium/core.Version={{.Version}} -X golang.nytpu.com/comitium/core.Commit={{.Commit}} - hooks: - post: - - scdoc < doc/comitium.1.scd > dist/comitum.1 - archives: - format: binary replacements: @@ -50,9 +50,14 @@ archives: 386: 32-bit amd64: 64-bit +signs: + - artifacts: checksum + publishers: - name: nytpu.com cmd: mv {{ abs .ArtifactPath }} /home/alex/projects/gemini.nytpu.com/releases/comitium/{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }} + checksum: true + signature: true release: github: |
