Skip to content

Commit

Permalink
修复脚本问题
Browse files Browse the repository at this point in the history
Signed-off-by: allan716 <525223688@qq.com>
  • Loading branch information
allanpk716 committed Jun 28, 2023
1 parent d30c5b6 commit 0c65d19
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .goreleaser_client_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ builds:
goarm:
- 6
- 7
binary_name:
- "{{ .ProjectName }}_base"
binary: "{{ .ProjectName }}_base"
main: ./cmd/client_base/main.go
ldflags:
- -s -w --extldflags "-static -fpic" -X main.AppVersion=v{{ .Version }}
Expand All @@ -35,24 +34,23 @@ builds:
goarm:
- 6
- 7
binary_name:
- "{{ .ProjectName }}_youtube"
binary: "{{ .ProjectName }}_youtube"
main: ./cmd/client_youtube/main.go
ldflags:
- -s -w --extldflags "-static -fpic" -X main.AppVersion=v{{ .Version }}


archives:
- id: archive-base
name_template: "{{ .ProjectName }}_base-{{ .Version }}-{{ .Os }}-{{ .Arch }}-base"
name_template: "{{ .ProjectName }}_base-{{ .Version }}-{{ .os }}-{{ .arch }}-base"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64

- id: archive-youtube
name_template: "{{ .ProjectName }}_youtube-{{ .Version }}-{{ .Os }}-{{ .Arch }}-youtube"
name_template: "{{ .ProjectName }}_youtube-{{ .Version }}-{{ .os }}-{{ .arch }}-youtube"
replacements:
darwin: Darwin
linux: Linux
Expand All @@ -61,6 +59,7 @@ archives:

checksum:
name_template: "checksums.txt"
algorithm: sha256

snapshot:
name_template: "{{ .Tag }}-next"
Expand Down

0 comments on commit 0c65d19

Please sign in to comment.