teldrive/.goreleaser.yaml

34 lines
635 B
YAML
Raw Normal View History

2023-08-21 06:22:20 +08:00
project_name: teldrive
env:
- GO111MODULE=on
2023-09-08 18:59:19 +08:00
before:
hooks:
- make pre-ui
- make ui
2023-08-21 06:22:20 +08:00
builds:
- env:
- CGO_ENABLED=0
2023-12-03 15:15:56 +08:00
main: cmd/teldrive/main.go
2024-02-04 15:53:27 +08:00
flags: -trimpath
ldflags: "-extldflags -static -s -w"
2023-08-21 06:29:34 +08:00
mod_timestamp: "{{ .CommitTimestamp }}"
2023-08-21 06:22:20 +08:00
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm
- arm64
checksum:
2023-08-21 06:29:34 +08:00
name_template: "{{ .ProjectName }}_checksums.txt"
2023-08-21 06:22:20 +08:00
archives:
2024-02-04 15:53:27 +08:00
- name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
2023-08-21 06:22:20 +08:00
format_overrides:
- goos: windows
format: zip
files:
- README*.md
2023-08-21 06:42:29 +08:00
- LICENSE