Add goreleaser config
This commit is contained in:
parent
ccfb856a04
commit
08af1b4505
2
.gitignore
vendored
2
.gitignore
vendored
@ -22,3 +22,5 @@
|
||||
go.work
|
||||
|
||||
*.html
|
||||
|
||||
dist/
|
||||
|
32
.goreleaser.yaml
Normal file
32
.goreleaser.yaml
Normal file
@ -0,0 +1,32 @@
|
||||
# This is an example .goreleaser.yml file with some sensible defaults.
|
||||
# Make sure to check the documentation at https://goreleaser.com
|
||||
before:
|
||||
hooks:
|
||||
# You may remove this if you don't use go modules.
|
||||
- go mod tidy
|
||||
# you may remove this if you don't need go generate
|
||||
- go generate ./...
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
archives:
|
||||
- replacements:
|
||||
linux: Linux
|
||||
windows: Windows
|
||||
amd64: x86_64
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
snapshot:
|
||||
name_template: "{{ incpatch .Version }}-next"
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
- '^docs:'
|
||||
- '^test:'
|
||||
gitea_urls:
|
||||
api: https://git.johannes-rothe.de/api/v1/
|
||||
download: https://git.johannes-rothe.de
|
8
go.mod
8
go.mod
@ -2,9 +2,9 @@ module confluence-space-exporter
|
||||
|
||||
go 1.18
|
||||
|
||||
require github.com/alexflint/go-arg v1.4.3
|
||||
|
||||
require (
|
||||
github.com/alexflint/go-scalar v1.1.0 // indirect
|
||||
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
|
||||
github.com/alexflint/go-arg v1.4.3
|
||||
golang.org/x/net v0.0.0-20220909164309-bea034e7d591
|
||||
)
|
||||
|
||||
require github.com/alexflint/go-scalar v1.1.0 // indirect
|
||||
|
Loading…
x
Reference in New Issue
Block a user