mirror of
https://github.com/larksuite/cli.git
synced 2026-07-03 14:02:43 +08:00
42 lines
740 B
YAML
42 lines
740 B
YAML
version: 2
|
|
|
|
before:
|
|
hooks:
|
|
- python3 scripts/fetch_meta.py
|
|
|
|
builds:
|
|
- binary: lark-cli
|
|
env:
|
|
- CGO_ENABLED=0
|
|
ldflags:
|
|
- -s -w -X github.com/larksuite/cli/internal/build.Version={{ .Version }} -X github.com/larksuite/cli/internal/build.Date={{ .Date }}
|
|
goos:
|
|
- darwin
|
|
- linux
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
- riscv64
|
|
|
|
archives:
|
|
- name_template: "lark-cli-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
files:
|
|
- README.md
|
|
- LICENSE
|
|
- CHANGELOG.md
|
|
|
|
checksum:
|
|
name_template: checksums.txt
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
- '^chore:'
|