Skip to content

Commit 4761f15

Browse files
authored
update release CI (#16)
1 parent 7bbc30c commit 4761f15

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.goreleaser.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
12
project_name: kubectl-config-cleanup
23

34
release:
45
name_template: "Version {{.Version}}"
56
github:
6-
owner: B23admin
7+
owner: TorchAIKC
78
name: kubectl-config-cleanup
89

910
before:
@@ -12,7 +13,9 @@ before:
1213

1314
builds:
1415
- binary: kubectl-config_cleanup
15-
ldflags: -s -w -X github.com/B23admin/kubectl-config-cleanup/buildinfo.Version=v{{.Version}} -X github.com/B23admin/kubectl-config-cleanup/buildinfo.GitSHA={{.FullCommit}}
16+
ldflags: |
17+
-s -w -X github.com/TorchAIKC/kubectl-config-cleanup/buildinfo.Version=v{{.Version}}
18+
-X github.com/TorchAIKC/kubectl-config-cleanup/buildinfo.GitSHA={{.FullCommit}}
1619
env:
1720
- CGO_ENABLED=0
1821
goos:
@@ -29,13 +32,13 @@ builds:
2932
archives:
3033
- format_overrides:
3134
- goos: windows
32-
format: zip
35+
formats: [ "zip" ]
3336

3437
checksum:
3538
name_template: 'checksums.txt'
3639

3740
snapshot:
38-
name_template: "{{ .Tag }}-next"
41+
version_template: "{{ .Tag }}-next"
3942

4043
changelog:
4144
sort: asc

0 commit comments

Comments
 (0)