Skip to content

Commit cdec73d

Browse files
committed
rerun goreleaser init
1 parent c49f032 commit cdec73d

3 files changed

Lines changed: 42 additions & 28 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ dist/*
55
*.swp
66
*.prof
77
*.svg
8+
9+
dist/

.goreleaser.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This is an example .goreleaser.yml file with some sensible defaults.
2+
# Make sure to check the documentation at https://goreleaser.com
3+
before:
4+
hooks:
5+
# You may remove this if you don't use go modules.
6+
- go mod tidy
7+
# you may remove this if you don't need go generate
8+
- go generate ./...
9+
builds:
10+
- env:
11+
- CGO_ENABLED=0
12+
goos:
13+
- linux
14+
- darwin
15+
16+
archives:
17+
- format: tar.gz
18+
# this name template makes the OS and Arch compatible with the results of uname.
19+
name_template: >-
20+
{{ .ProjectName }}_
21+
{{- title .Os }}_
22+
{{- if eq .Arch "amd64" }}x86_64
23+
{{- else if eq .Arch "386" }}i386
24+
{{- else }}{{ .Arch }}{{ end }}
25+
{{- if .Arm }}v{{ .Arm }}{{ end }}
26+
checksum:
27+
name_template: 'checksums.txt'
28+
snapshot:
29+
name_template: "{{ incpatch .Version }}-next"
30+
changelog:
31+
sort: asc
32+
filters:
33+
exclude:
34+
- '^docs:'
35+
- '^test:'
36+
37+
# The lines beneath this are called `modelines`. See `:help modeline`
38+
# Feel free to remove those if you don't want/use them.
39+
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
40+
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

.goreleaser.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)