Skip to content

Commit fe03d74

Browse files
committed
Add GoReleaser config
1 parent 4afccce commit fe03d74

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist/
2+
vendor/

.goreleaser.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This is an example goreleaser.yaml file with some sane defaults.
2+
# Make sure to check the documentation at http://goreleaser.com
3+
before:
4+
hooks:
5+
- go mod vendor
6+
builds:
7+
- id: okta
8+
main: .
9+
binary: okta.treeplugin
10+
goos:
11+
- darwin
12+
- freebsd
13+
- linux
14+
- windows
15+
archives:
16+
- replacements:
17+
darwin: Darwin
18+
linux: Linux
19+
windows: Windows
20+
386: i386
21+
amd64: x86_64
22+
files:
23+
- LICENSE
24+
- README.md
25+
checksum:
26+
name_template: 'checksums.txt'
27+
snapshot:
28+
name_template: "{{ .Tag }}-next"
29+
changelog:
30+
sort: asc
31+
filters:
32+
exclude:
33+
- '^docs:'
34+
- '^test:'
35+
release:
36+
github:
37+
owner: NetAuth
38+
name: plugin-okta

0 commit comments

Comments
 (0)