Skip to content

Commit

Permalink
goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
shaspitz committed Mar 2, 2024
1 parent 6fb57aa commit 1a92f8b
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
2 changes: 2 additions & 0 deletions standard/bridge-v1/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/bin/

dist/
62 changes: 62 additions & 0 deletions standard/bridge-v1/.goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
version: 1

before:
hooks:
- go mod tidy

builds:
- id: relayer
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
main: ./cmd/relayer
binary: relayer-{{.Os}}-{{.Arch}}
- id: user_cli
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
main: ./cmd/user_cli
binary: user-cli-{{.Os}}-{{.Arch}}

archives:
- id: relayer
builds:
- relayer
format: tar.gz
name_template: '{{ .ProjectName }}-{{ .Binary }}'
format_overrides:
- goos: windows
format: zip
- id: user_cli
builds:
- user_cli
format: tar.gz
name_template: '{{ .ProjectName }}-{{ .Binary }}'
format_overrides:
- goos: windows
format: zip

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

0 comments on commit 1a92f8b

Please sign in to comment.