Skip to content

Commit

Permalink
Merge pull request #15 from mjudeikis/fix.go.releaser
Browse files Browse the repository at this point in the history
🌱  fix go releaser
  • Loading branch information
mjudeikis authored Jul 30, 2023
2 parents e89f924 + 1764adf commit 08942d2
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ builds:
goarch: ppc64le
env:
- CGO_ENABLED=0
- id: "kubectl-workspace"
main: ./cmd/kubectl-workspace
binary: bin/kubectl-workspace
- id: "kubectl-workload"
main: ./cmd/kubectl-workload
binary: bin/kubectl-workload
ldflags:
- "{{ .Env.LDFLAGS }}"
goos:
Expand All @@ -36,8 +36,7 @@ builds:
goarch: ppc64le
hooks:
post:
- ln -sfr bin/kubectl-workspace bin/kubectl-workspaces
- ln -sfr bin/kubectl-workspace bin/kubectl-ws
- ln -sfr bin/kubectl-workload bin/kubectl-workloads
env:
- CGO_ENABLED=0
archives:
Expand All @@ -47,11 +46,10 @@ archives:
- id: kubectl-tmc-plugin
builds:
- kubectl-tmc
- kubectl-workspace
- kubectl-workload
name_template: "kubectl-tmc-plugin_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- bin/kubectl-workspaces
- bin/kubectl-ws
- bin/kubectl-workloads
release:
draft: true
prerelease: auto
Expand Down

0 comments on commit 08942d2

Please sign in to comment.