1
0
Fork 0
golang-github-editorconfig-.../.goreleaser.yml
Daniel Baumann 2b08a89310
Adding upstream version 2.6.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-18 22:58:26 +02:00

76 lines
1.4 KiB
YAML

version: 2
project_name: editorconfig-core-go
before:
hooks:
- go mod tidy
builds:
- id: editorconfig
main: ./cmd/editorconfig/main.go
binary: editorconfig
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
archives:
- id: tarball
builds:
- editorconfig
format_overrides:
- goos: windows
formats:
- zip
files:
- none*
dockers:
- image_templates:
- ghcr.io/editorconfig/editorconfig-core-go/editorconfig:latest
- ghcr.io/editorconfig/editorconfig-core-go/editorconfig:{{ .Tag }}
- ghcr.io/editorconfig/editorconfig-core-go/editorconfig:v{{ .Major }}
- ghcr.io/editorconfig/editorconfig-core-go/editorconfig:v{{ .Major }}.{{ .Minor }}
goos: linux
goarch: amd64
ids:
- editorconfig
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.version={{ .Version }}"
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
nfpms:
- vendor: EditorConfig
homepage: https://github.com/editorconfig/editorconfig-core-go
maintainer: Yoan Blanc <yoan@dosimple.ch>
formats:
- deb
- rpm
epoch: 1
release: 1
checksum:
name_template: 'checksums.txt'
signs:
- artifacts: checksum
snapshot:
version_template: "{{ .Tag }}-development"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
github:
owner: editorconfig
name: editorconfig-core-go
draft: true