diff --git a/standard/bridge-v1/.gitignore b/standard/bridge-v1/.gitignore index ae3c172..7cad4de 100644 --- a/standard/bridge-v1/.gitignore +++ b/standard/bridge-v1/.gitignore @@ -1 +1,3 @@ /bin/ + +dist/ diff --git a/standard/bridge-v1/.goreleaser.yaml b/standard/bridge-v1/.goreleaser.yaml new file mode 100644 index 0000000..b61bd53 --- /dev/null +++ b/standard/bridge-v1/.goreleaser.yaml @@ -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:"