# 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: ./cli env: - CGO_ENABLED=0 goos: - windows - linux goarch: - amd64 hooks: post: ./attach_webzip.sh dist/rufs_linux_amd64/rufs dist/rufs_windows_amd64/rufs.exe 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