mirror of
https://github.com/go-task/task.git
synced 2026-05-16 09:19:04 +02:00
32 lines
629 B
YAML
32 lines
629 B
YAML
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
|
version: 2
|
|
|
|
builds:
|
|
- binary: task
|
|
main: ./cmd/task
|
|
goos: [windows, darwin, linux]
|
|
goarch: [amd64, arm64]
|
|
env:
|
|
- CGO_ENABLED=0
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- "-s -w"
|
|
|
|
archives:
|
|
- name_template: '{{.Binary}}_{{.Os}}_{{.Arch}}'
|
|
files:
|
|
- README.md
|
|
- LICENSE
|
|
- completion/**/*
|
|
format_overrides:
|
|
- goos: windows
|
|
formats: [zip]
|
|
|
|
snapshot:
|
|
version_template: 'pr-{{ .ShortCommit }}'
|
|
|
|
checksum:
|
|
name_template: 'task_checksums.txt'
|