Skip to content

Commit

Permalink
add more goreleaser release targets
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Feb 5, 2024
1 parent 75a6b21 commit c3da543
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ builds:
tags: [ windows ]
env:
- CGO_ENABLED=0
# Build CLI binary without embedded UI for linux. Required by our Console.
# Build CLI binary without embedded UI for linux.
- id: plural-cli-console
targets:
- linux_amd64
Expand All @@ -62,6 +62,23 @@ builds:
env:
- CGO_ENABLED=0
binary: plural
- id: plural-cli-headless
targets:
- linux_amd64
- linux_arm64
- darwin_amd64
- darwin_arm64
ldflags:
- -s
- -w
- -X "github.com/pluralsh/plural-cli/cmd/plural.Version={{.Version}}"
- -X "github.com/pluralsh/plural-cli/cmd/plural.Commit={{.Commit}}"
- -X "github.com/pluralsh/plural-cli/cmd/plural.Date={{.Date}}"
- -X "github.com/pluralsh/plural-cli/pkg/scm.GitlabClientSecret={{.Env.GITLAB_CLIENT_SECRET}}"
tags: [ linux ]
env:
- CGO_ENABLED=0
binary: plural

archives:
- id: plural-cli
Expand Down

0 comments on commit c3da543

Please sign in to comment.