diff options
author | Bryan McNulty <bryanmcnulty@protonmail.com> | 2025-04-22 15:17:07 -0500 |
---|---|---|
committer | Bryan McNulty <bryanmcnulty@protonmail.com> | 2025-04-22 15:17:07 -0500 |
commit | ecb89c72735ef5ef97e9090c524a0adf1906adf2 (patch) | |
tree | 904ed47e03c17c9ffb4e8927eda77d0270bd32b6 /.goreleaser.yaml | |
parent | 63d56b4a6bf9c955f00a1358c0322929cccf005c (diff) | |
download | goexec-ecb89c72735ef5ef97e9090c524a0adf1906adf2.tar.gz goexec-ecb89c72735ef5ef97e9090c524a0adf1906adf2.zip |
Add goreleaser config
Diffstat (limited to '.goreleaser.yaml')
-rw-r--r-- | .goreleaser.yaml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..16a3ffb --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,48 @@ +version: 2 +project_name: goexec + +before: + hooks: + - go mod tidy + - go generate ./... +builds: + - env: + - CGO_ENABLED=0 + ldflags: -s -w + goos: + - darwin + - windows + - linux + goarch: + - amd64 + - arm64 + - "386" + - arm + +#upx: +# - enabled: true +# goos: [ linux ] +# compress: best +# lzma: true + +archives: + - name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}" + files: + - README.md + - LICENSE + format_overrides: + - goos: windows + format: zip + +checksum: + name_template: "checksums.txt" +snapshot: + name_template: "{{ incpatch .Version }}" +changelog: + sort: asc + filters: + exclude: + - "^docs:" + - "^doc:" + - "^ci:" + - "^Merge pull request" |