77 lines
1.6 KiB
YAML
77 lines
1.6 KiB
YAML
version: 2
|
|
|
|
project_name: archduino
|
|
|
|
before:
|
|
hooks:
|
|
- mkdir -p completions
|
|
- sh -c "go run ./cmd/archduino completion bash > completions/archduino.bash"
|
|
- sh -c "go run ./cmd/archduino completion zsh > completions/_archduino"
|
|
- sh -c "go run ./cmd/archduino completion fish > completions/archduino.fish"
|
|
|
|
builds:
|
|
- id: archduino
|
|
main: ./cmd/archduino
|
|
binary: archduino
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
ldflags:
|
|
- -s -w
|
|
- -X main.version={{ .Version }}
|
|
- -X main.commit={{ .Commit }}
|
|
- -X main.date={{ .Date }}
|
|
|
|
archives:
|
|
- id: default
|
|
name_template: "archduino_{{ .Version }}_linux_{{ .Arch }}"
|
|
formats: [tar.gz]
|
|
files:
|
|
- README.md
|
|
- LICENSE
|
|
- src: completions/archduino.bash
|
|
dst: completions/archduino.bash
|
|
- src: completions/_archduino
|
|
dst: completions/_archduino
|
|
- src: completions/archduino.fish
|
|
dst: completions/archduino.fish
|
|
|
|
checksum:
|
|
name_template: "checksums.txt"
|
|
algorithm: sha256
|
|
|
|
changelog:
|
|
use: git
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^chore:'
|
|
- '^docs:'
|
|
- '^test:'
|
|
- '^ci:'
|
|
- '^style:'
|
|
- '^refactor:'
|
|
- 'Merge pull request'
|
|
- 'Merge branch'
|
|
groups:
|
|
- title: Features
|
|
regexp: '^feat(\(.*\))?:'
|
|
order: 0
|
|
- title: Bug fixes
|
|
regexp: '^(fix|perf)(\(.*\))?:'
|
|
order: 1
|
|
- title: Others
|
|
order: 999
|
|
|
|
gitea_urls:
|
|
api: https://gitlab.hive-brain.de/api/v1
|
|
download: https://gitlab.hive-brain.de
|
|
|
|
release:
|
|
draft: false
|
|
prerelease: auto
|