diff --git a/.gitignore b/.gitignore index 1ad4ba8..0066b86 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ ghorg debug .DS_Store coverage.out + +dist/ diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..c443537 --- /dev/null +++ b/.goreleaser.yml @@ -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 diff --git a/README.md b/README.md index 7aa31a2..a996bdc 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,10 @@ ghorg clone kubernetes --config=$HOME/.config/ghorg/other-config.yaml ## Install +### Prebuilt Binaries + +See [releases](https://github.com/gabrie30/ghorg/releases) to download binaries directly + ### Homebrew > optional but recommended