-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.goreleaser.yml
More file actions
55 lines (47 loc) · 1.41 KB
/
Copy path.goreleaser.yml
File metadata and controls
55 lines (47 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- -s -w -X main.buildVersion={{.Version}} -X main.buildCommit={{.ShortCommit}} -X main.buildDate={{.Date}} -X main.builtBy=goreleaser -X main.treeState={{ .IsGitDirty }}
gomod:
# Proxy a module from proxy.golang.org, making the builds verifiable.
# This will only be effective if running against a tag. Snapshots will ignore
# this setting.
# Notice: for this to work your `build.main` must be a package, not a `.go` file.
proxy: true
# static file path for checksums for build attestations
checksum:
name_template: "checksums.txt"
archives:
- format_overrides:
- goos: windows
formats: [zip]
# disable changelog generation entirely, since bump will manage that itself!
changelog:
disable: true
release:
# If set to auto, will mark the release as not ready for production
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1
prerelease: auto
brews:
- repository:
owner: mroth
name: homebrew-tap
description: "Draft GitHub Release of the next semver in web browser"
homepage: "https://github.com/mroth/bump"
skip_upload: false