mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
71 lines
1.6 KiB
YAML
71 lines
1.6 KiB
YAML
|
# This is an example .goreleaser.yml file with some sensible defaults.
|
||
|
before:
|
||
|
hooks:
|
||
|
- go mod tidy
|
||
|
builds:
|
||
|
- env:
|
||
|
- CGO_ENABLED=0
|
||
|
goos:
|
||
|
- linux
|
||
|
- darwin
|
||
|
goarch:
|
||
|
- amd64
|
||
|
- arm64
|
||
|
goamd64:
|
||
|
- v2
|
||
|
- v3
|
||
|
goarm:
|
||
|
- "7"
|
||
|
id: "cc-backend"
|
||
|
main: ./cmd/cc-backend
|
||
|
tags:
|
||
|
- static_build
|
||
|
|
||
|
archives:
|
||
|
- format: tar.gz
|
||
|
# this name template makes the OS and Arch compatible with the results of uname.
|
||
|
name_template: >-
|
||
|
{{ .ProjectName }}_
|
||
|
{{- title .Os }}_
|
||
|
{{- if eq .Arch "amd64" }}x86_64
|
||
|
{{- else }}{{ .Arch }}{{ end }}
|
||
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
||
|
checksum:
|
||
|
name_template: 'checksums.txt'
|
||
|
snapshot:
|
||
|
name_template: "{{ incpatch .Version }}-next"
|
||
|
changelog:
|
||
|
sort: asc
|
||
|
filters:
|
||
|
exclude:
|
||
|
- "^test:"
|
||
|
- "^chore"
|
||
|
- "merge conflict"
|
||
|
- Merge pull request
|
||
|
- Merge remote-tracking branch
|
||
|
- Merge branch
|
||
|
groups:
|
||
|
- title: "Dependency updates"
|
||
|
regexp: '^.*?(feat|fix)\(deps\)!?:.+$'
|
||
|
order: 300
|
||
|
- title: "New Features"
|
||
|
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
|
||
|
order: 100
|
||
|
- title: "Security updates"
|
||
|
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
|
||
|
order: 150
|
||
|
- title: "Bug fixes"
|
||
|
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
|
||
|
order: 200
|
||
|
- title: "Documentation updates"
|
||
|
regexp: ^.*?doc(\([[:word:]]+\))??!?:.+$
|
||
|
order: 400
|
||
|
- title: Other work
|
||
|
order: 9999
|
||
|
release:
|
||
|
draft: true
|
||
|
footer: |
|
||
|
Supports job archive version 1 and database version 4.
|
||
|
|
||
|
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|