123456789101112131415161718192021222324252627282930313233 |
- # This is an example goreleaser.yaml file with some sane defaults.
- # Make sure to check the documentation at http://goreleaser.com
- before:
- hooks:
- - go mod download
- builds:
- - main: ./server/dudeldu.go
- env:
- - CGO_ENABLED=0
- goos:
- - windows
- - linux
- goarch:
- - amd64
- checksum:
- name_template: 'checksums.txt'
- archives:
- - files:
- - LICENSE
- - NOTICE
- - examples/**/*
- snapshot:
- name_template: "{{ .Tag }}"
- changelog:
- sort: asc
- filters:
- exclude:
- - '^docs:'
- - '^test:'
- # Run with:
- # mkdir .cache
- # docker run --rm --user $(id -u):$(id -g) -v $PWD/.cache:/.cache -v $PWD:/go/code -w /go/code goreleaser/goreleaser --snapshot --skip-publish --rm-dist
|