Skip to content

Commit

Permalink
Rollback goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ssup2 committed Mar 29, 2021
1 parent b9003e7 commit feeeda0
Showing 1 changed file with 17 additions and 49 deletions.
66 changes: 17 additions & 49 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,30 @@
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- go mod download
- go mod download
builds:
- id: kpexec
main: ./cmd/kpexec/main.go
binary: kpexec
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -X github.com/ssup2/kpexec/pkg/cmd/kpexec.version={{ .Tag }}
- id: kubectl-pexec
main: ./cmd/kpexec/main.go
binary: kubectl-pexec
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -X github.com/ssup2/kpexec/pkg/cmd/kpexec.version={{ .Tag }}
- main: ./cmd/kpexec/main.go
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -X github.com/ssup2/kpexec/pkg/cmd/kpexec.version={{ .Tag }}
archives:
- id: kpexec
builds:
- kpexec
name_template: "kpexec_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
- id: kubectl-pexec
builds:
- kubectl-pexec
name_template: "kubectl_pexec_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
checksum:
name_template: checksums.txt
changelog:
sort: asc
brews:
- name: kpexec
ids:
- kpexec
tap:
owner: ssup2
name: homebrew-tap
Expand Down

0 comments on commit feeeda0

Please sign in to comment.