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.

fix: distinguish cli release artifacts

wulienfe89df52ba6b
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index 9fdd410f..6134ec0a 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -11,7 +11,7 @@ builds:
- windows
main: ./cmd/server/main.go
- id: cli
- binary: krillinai
+ binary: krillinai-cli
env:
- CGO_ENABLED=0
goos:
@@ -58,7 +58,9 @@ docker_manifests:
- "{{ tolower .Env.DOCKER_USERNAME }}/{{ tolower .ProjectName }}:latest-arm64"
archives:
- - formats: ["binary"]
+ - id: server
+ ids: ["server"]
+ formats: ["binary"]
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
@@ -70,6 +72,20 @@ archives:
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
{{- end }}
+ - id: cli
+ ids: ["cli"]
+ formats: ["binary"]
+ name_template: >-
+ {{ .ProjectName }}-cli_
+ {{- .Version }}_
+ {{- 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 }}
+ {{- end }}
release:
extra_files: