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.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
ci: use goreleaser
PairZhufe803c746575
diff --git a/.gitignore b/.gitignoreindex dc5b3209..ba29e6e0 100644--- a/.gitignore+++ b/.gitignore@@ -7,4 +7,5 @@ bin/models/uploads/app.log-build/\ No newline at end of file+build/+dist/diff --git a/.goreleaser.yaml b/.goreleaser.yamlnew file mode 100644index 00000000..f4ccdad8--- /dev/null+++ b/.goreleaser.yaml@@ -0,0 +1,33 @@+version: 2++builds:+ - env:+ - CGO_ENABLED=0+ goos:+ - darwin+ - linux+ - windows++archives:+ - format: tar.gz+ # this name template makes the OS and Arch compatible with the results of `uname`.+ name_template: >-+ {{ .ProjectName }}_+ {{- .Version }}_+ {{- 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++changelog:+ sort: asc+ filters:+ exclude:+ - "^docs:"+ - "^test:"+diff --git a/Makefile b/Makefiledeleted file mode 100644index b0e52397..00000000--- a/Makefile+++ /dev/null@@ -1,29 +0,0 @@-# Makefile--APP_NAME=KrillinAI--OUTPUT_DIR=build--# 目标平台-PLATFORMS=\- "darwin/arm64" \- "darwin/amd64" \- "linux/amd64" \- "windows/amd64"--all: clean build--# 清理构建目录-clean:- rm -rf $(OUTPUT_DIR)--# 构建所有平台-build:- @for platform in $(PLATFORMS); do \- GOOS=$$(echo $$platform | cut -d'/' -f1) \- GOARCH=$$(echo $$platform | cut -d'/' -f2) \- && output_name=$(OUTPUT_DIR)/$(APP_NAME)-$${GOOS}-$${GOARCH} \- && [ "$${GOOS}" = "windows" ] && output_name=$${output_name}.exe ; \- echo "Building for $${GOOS}/$${GOARCH}..." ; \- GOOS=$${GOOS} GOARCH=$${GOARCH} go build -o $${output_name} . ; \- done