mirror of
https://github.com/gabrie30/ghorg.git
synced 2025-08-06 14:27:28 +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
|
debug
|
||||||
.DS_Store
|
.DS_Store
|
||||||
coverage.out
|
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
|
@ -43,6 +43,10 @@ ghorg clone kubernetes --config=$HOME/.config/ghorg/other-config.yaml
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
### Prebuilt Binaries
|
||||||
|
|
||||||
|
See [releases](https://github.com/gabrie30/ghorg/releases) to download binaries directly
|
||||||
|
|
||||||
### Homebrew
|
### Homebrew
|
||||||
|
|
||||||
> optional but recommended
|
> optional but recommended
|
||||||
|
Loading…
Reference in New Issue
Block a user