Skip to content

Commit

Permalink
reorder files
Browse files Browse the repository at this point in the history
  • Loading branch information
mjudeikis committed Mar 31, 2024
1 parent 1eb14c3 commit d9f6957
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,31 @@ builds:
goarch: ppc64le
env:
- CGO_ENABLED=0
- id: "kubectl-workspace"
- id: "kubectl-workspaces"
main: ./cmd/kubectl-workspace
dir: cli
binary: bin/kubectl-workspace
binary: bin/kubectl-workspaces
ldflags:
- "{{ .Env.LDFLAGS }}"
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- ppc64le
ignore:
- goos: darwin
goarch: ppc64le
- goos: windows
goarch: ppc64le
env:
- CGO_ENABLED=0
- id: "kubectl-ws"
main: ./cmd/kubectl-workspace
dir: cli
binary: bin/kubectl-ws
ldflags:
- "{{ .Env.LDFLAGS }}"
goos:
Expand All @@ -57,10 +78,6 @@ builds:
goarch: ppc64le
- goos: windows
goarch: ppc64le
hooks:
post:
- cp bin/kubectl-workspace bin/kubectl-workspaces
- cp bin/kubectl-workspace bin/kubectl-ws
env:
- CGO_ENABLED=0
archives:
Expand All @@ -70,7 +87,8 @@ archives:
- id: kubectl-kcp-plugin
builds:
- kubectl-kcp
- kubectl-workspace
- kubectl-workspaces
- kubectl-ws
name_template: "kubectl-kcp-plugin_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- bin/kubectl-workspaces
Expand Down

0 comments on commit d9f6957

Please sign in to comment.