From 79acfd2e4ba11f048847e5042605500b4fefd4c4 Mon Sep 17 00:00:00 2001 From: Alan Braithwaite Date: Tue, 4 Jun 2024 10:43:42 -0700 Subject: [PATCH] update goreleaser to not build kawad skip building for libraries --- .goreleaser.public.yaml | 32 ++------------------------------ 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/.goreleaser.public.yaml b/.goreleaser.public.yaml index daa99f0..66e9969 100644 --- a/.goreleaser.public.yaml +++ b/.goreleaser.public.yaml @@ -6,34 +6,9 @@ before: - go mod tidy # you may remove this if you don't need go generate # - go generate ./... -builds: - - main: ./cmd/kawad - id: kawad - binary: kawad - goos: - - linux - - darwin - - windows -archives: - - format: tar.gz - id: kawad - # this name template makes the OS and Arch compatible with the results of uname. - name_template: >- - kawad- - {{- .Os }}- - {{- if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} - {{- if .Arm }}v{{ .Arm }}{{ end }} - # use zip for windows archives - builds: [kawad] - format_overrides: - - goos: windows - format: zip - # only embed binaries for now - # https://goreleaser.com/customization/archive/?h=archives#packaging-only-the-binaries - files: - - none* +builds: + - skip: true changelog: use: github-native @@ -46,9 +21,6 @@ release: owner: runreveal name: kawa -checksum: - name_template: 'checksums.txt' - snapshot: name_template: "{{ incpatch .Version }}-{{ .ShortCommit }}-{{ .Branch }}"