Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

chore: make release more user-friendly

PairZhu4d400508081e
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index f4ccdad8..94075a7c 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -9,20 +9,18 @@ builds:
- windows
archives:
- - format: tar.gz
- # this name template makes the OS and Arch compatible with the results of `uname`.
+ - format: binary
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
- {{- title .Os }}_
+ {{- if eq .Os "darwin" }}macOS_{{ .Arch }}
+ {{- else if and (eq .Os "windows") (eq .Arch "amd64") }}{{ title .Os }}
+ {{- else }}{{ title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
- # use zip for windows archives
- format_overrides:
- - goos: windows
- format: zip
+ {{- end }}
changelog:
sort: asc