Skip to content

Commit

Permalink
chore: update goreleaser build tag
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbhat0 committed Aug 19, 2024
1 parent 549658c commit c01a4c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .goreleaser-cross.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ builds:
- -w -s
- -linkmode=external
tags:
- '{{ .Env.BUILD_TAG }}'
- '{{ if eq .Env.BUILD_TAG "testnet" }}testnet{{else}}mainnet{{end}}'

- id: arkeod-darwin-arm64
binary: arkeod
Expand All @@ -60,6 +60,8 @@ builds:
- -X github.com/arkeonetwork/arkeo/x/arkeo/configs.GitCommit={{ .Commit }}
- -w -s
- -linkmode=external
tags:
- '{{ if eq .Env.BUILD_TAG "testnet" }}testnet{{else}}mainnet{{end}}'

- id: arkeod-linux-arm64
binary: arkeod
Expand All @@ -84,6 +86,8 @@ builds:
- -X github.com/arkeonetwork/arkeo/x/arkeo/configs.GitCommit={{ .Commit }}
- -linkmode=external
- -extldflags '-Wl,-z,muldefs --static -lm'
tags:
- '{{ if eq .Env.BUILD_TAG "testnet" }}testnet{{else}}mainnet{{end}}'

universal_binaries:
- id: arkeod-darwin-all
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ builds:
- -linkmode=external
- -extldflags '-Wl,-z,muldefs --static -lm'
tags:
- '{{ .Env.BUILD_TAG }}'
- '{{ if eq .Env.BUILD_TAG "testnet" }}testnet{{else}}mainnet{{end}}'

release:
skip_upload: '{{ if eq .Env.RELEASE "true" }}false{{else}}true{{end}}'
Expand Down

0 comments on commit c01a4c9

Please sign in to comment.