teldrive/.goreleaser.dev.yml

35 lines
602 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:
2024-02-09 00:16:34 +08:00
- make frontend
2023-08-21 06:22:20 +08:00
builds:
- env:
- CGO_ENABLED=0
2024-02-09 00:16:34 +08:00
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
goarch:
- amd64
2024-02-09 23:22:41 +08:00
2023-08-21 06:22:20 +08:00
checksum:
2023-08-21 06:29:34 +08:00
name_template: "{{ .ProjectName }}_checksums.txt"
2024-02-09 00:16:34 +08:00
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
2024-02-09 00:16:34 +08:00
changelog:
2024-02-09 21:12:13 +08:00
disable: true
2024-02-09 01:31:13 +08:00
release:
draft: true