Skip to content

Commit

Permalink
Simplify release template
Browse files Browse the repository at this point in the history
  • Loading branch information
rothgar committed Nov 4, 2022
1 parent ea683b1 commit fc49a10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ builds:
goarch: arm64
- goos: windows
goarch: arm64
archives:
- builds:
- kubectl-dds
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: false
format: tar.gz
files:
- LICENSE
checksum:
name_template: 'checksums.txt'
changelog:
Expand Down
8 changes: 4 additions & 4 deletions .krew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName | replace "v" "" }}_darwin_amd64.tar.gz" .TagName }}
bin: "./kubectl-dds"
files:
- from: kubectl-dds
Expand All @@ -28,7 +28,7 @@ spec:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName | replace "v" "" }}_darwin_arm64.tar.gz" .TagName }}
bin: "./kubectl-dds"
files:
- from: kubectl-dds
Expand All @@ -39,7 +39,7 @@ spec:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName | replace "v" "" }}_linux_amd64.tar.gz" .TagName }}
bin: "./kubectl-dds"
files:
- from: kubectl-dds
Expand All @@ -50,7 +50,7 @@ spec:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
{{addURIAndSha "https://github.com/aws-containers/kubectl-detector-for-docker-socket/releases/download/{{ .TagName }}/kubectl-detector-for-docker-socket_{{ .TagName | replace "v" "" }}_windows_amd64.tar.gz" .TagName }}
bin: "./kubectl-dds.exe"
files:
- from: kubectl-dds.exe
Expand Down

0 comments on commit fc49a10

Please sign in to comment.