feat: integrate open recovery workflow and bump v1.1.0

This commit is contained in:
xiaojin.hxj committed 2026-03-28 20:41:56 +08:00
1 parent 3fc9f9608b
commit aa3f8f3990
33 files changed
+4156 -66

No files matched your search

+71
View File
@@ -0,0 +1,71 @@
# GoReleaser configuration for dws
# Docs: https://goreleaser.com
#
# To release:
# git tag -a v0.1.0 -m "Release v0.1.0"
# git push origin v0.1.0
#
# To test locally (no publish):
# goreleaser release --snapshot --clean
version: 2
before:
hooks:
- go mod tidy
builds:
- main: ./cmd
binary: dws
env:
- CGO_ENABLED=0
flags:
- -buildmode=pie
- -trimpath
ldflags:
- -s -w
- -X github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/app.version=v{{.Version}}
- -X github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/app.gitCommit={{.ShortCommit}}
- -X github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/app.buildTime={{.Date}}
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
archives:
- formats:
- tar.gz
name_template: "dws-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
formats:
- zip
files:
- LICENSE
- NOTICE
- README.md
- CHANGELOG.md
checksum:
name_template: "checksums.txt"
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^chore:"
release:
github:
owner: DingTalk-Real-AI
name: dingtalk-workspace-cli
draft: false
prerelease: auto
name_template: "v{{.Version}}"