teldrive/.goreleaser.dev.yml
2024-02-09 20:52:41 +05:30

35 lines
602 B
YAML

project_name: teldrive
env:
- GO111MODULE=on
before:
hooks:
- make frontend
builds:
- env:
- CGO_ENABLED=0
main: cmd/teldrive/main.go
flags: -trimpath
ldflags: "-extldflags -static -s -w"
mod_timestamp: "{{ .CommitTimestamp }}"
goos:
- linux
- windows
goarch:
- amd64
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
archives:
- name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
changelog:
disable: true
release:
draft: true