mirror of
https://github.com/gabrie30/ghorg.git
synced 2025-08-06 06:17:09 +02:00
Add goreleaser
This commit is contained in:
parent
29f454c5ad
commit
9cf84c37c8
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,3 +3,5 @@ ghorg
|
||||
debug
|
||||
.DS_Store
|
||||
coverage.out
|
||||
|
||||
dist/
|
||||
|
27
.goreleaser.yml
Normal file
27
.goreleaser.yml
Normal file
@ -0,0 +1,27 @@
|
||||
# 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
|
||||
- go mod vendor
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
- darwin
|
||||
archives:
|
||||
- replacements:
|
||||
darwin: Darwin
|
||||
linux: Linux
|
||||
windows: Windows
|
||||
386: i386
|
||||
amd64: x86_64
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
snapshot:
|
||||
name_template: "{{ incpatch .Version }}-next"
|
||||
changelog:
|
||||
skip: true
|
Loading…
Reference in New Issue
Block a user