-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.goreleaser.yml
More file actions
88 lines (73 loc) · 2.02 KB
/
.goreleaser.yml
File metadata and controls
88 lines (73 loc) · 2.02 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# .goreleaser.yml for cisco-ios-xe-wireless-go SDK package
project_name: cisco-ios-xe-wireless-go
version: 2
# Build destination
github_urls:
# set to true if you use a self-signed certificate
skip_tls_verify: false
before:
hooks:
- go mod tidy
- go mod verify
# No binary builds for a library package
builds:
- skip: true
# Create source archives for the library
archives:
- id: source
name_template: '{{ .ProjectName }}-v{{ .Version }}_source'
formats: [ 'tar.gz' ]
files:
- "*.go"
- "*.md"
- "go.mod"
- "go.sum"
- "LICENSE"
# Generate documentation
dockers: []
# Release configuration
release:
prerelease: auto
draft: false
replace_existing_draft: true
header: |
## {{ .ProjectName }} v{{ .Version }}
This release contains the Go SDK for interacting with Cisco Catalyst 9800 Wireless Network Controller.
### 📦 Installation
```bash
go get github.com/umatare5/cisco-ios-xe-wireless-go@v{{ .Version }}
```
footer: |
**Full Changelog**: https://github.com/umatare5/cisco-ios-xe-wireless-go/compare/{{ .PreviousTag }}...{{ .Tag }}
### Documentation
- [README](https://github.com/umatare5/cisco-ios-xe-wireless-go/blob/{{ .Tag }}/README.md)
- [API Reference](https://pkg.go.dev/github.com/umatare5/cisco-ios-xe-wireless-go@v{{ .Version }})
# Generate checksums for source archives
checksum:
name_template: "{{ .ProjectName }}-v{{ .Version }}_checksums.txt"
# Changelog configuration
changelog:
use: github
sort: asc
abbrev: 0
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: Bug Fixes
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Documentation Updates
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
order: 2
- title: Others
order: 999
filters:
exclude:
- '^Merge branch '
- '^release:'
- '^ci:'
- '^test:'
# Metadata for Go proxy and pkg.go.dev
metadata:
mod_timestamp: '{{ .CommitTimestamp }}'