Skip to content

Commit

Permalink
Merge pull request #209 from decentral1se/goreleaser
Browse files Browse the repository at this point in the history
build: wire up goreleaser config
  • Loading branch information
decentral1se committed Nov 18, 2022
2 parents 43505cc + 6b7b188 commit 8a69bc6
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -21,6 +21,7 @@ sbotcli

# 'make $platform' output
release
dist

# ignore vim swap files
**/.*.sw[op]
Expand Down
74 changes: 74 additions & 0 deletions .goreleaser.yml
@@ -0,0 +1,74 @@
# SPDX-FileCopyrightText: 2022 The Go-SSB Authors
# SPDX-License-Identifier: MIT

before:
hooks:
- go mod tidy

builds:
- id: go-ssb
dir: cmd/go-sbot
binary: go-ssb
goos:
- linux
- darwin
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 5
- 6
- 7

- id: go-ssb-lite
dir: cmd/go-sbot
binary: go-ssb-lite
flags:
- -tags=lite
goos:
- linux
- darwin
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 5
- 6
- 7

- id: sbotcli
dir: cmd/sbotcli
binary: sbotcli
goos:
- linux
- darwin
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 5
- 6
- 7

archives:
- id: go-ssb
format: binary

checksum:
name_template: "checksums.txt"

snapshot:
name_template: "{{ .Tag }}-next"

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 8a69bc6

Please sign in to comment.