From 1628e519260b898d5b9c50ebeb9353085238d0ee Mon Sep 17 00:00:00 2001 From: pomdtr Date: Mon, 4 Dec 2023 14:30:02 +0100 Subject: [PATCH] update goreleaser config --- .gitignore | 1 + .goreleaser.yaml | 7 +++---- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index a30869e..ed61d2b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /public/ /tweety.json +/dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 95c4809..de3d0fd 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -4,14 +4,13 @@ before: - go mod tidy - rm -rf completions - mkdir completions - - sh -c 'go run ./cmd/tweety completion "bash" >./completions/{{ .ProjectName }}.bash' - - sh -c 'go run ./cmd/tweety completion "zsh" >./completions/{{ .ProjectName }}.zsh' - - sh -c 'go run ./cmd/tweety completion "fish" >./completions/{{ .ProjectName }}.fish' + # - sh -c 'go run . completion "bash" >./completions/{{ .ProjectName }}.bash' + # - sh -c 'go run . completion "zsh" >./completions/{{ .ProjectName }}.zsh' + # - sh -c 'go run . completion "fish" >./completions/{{ .ProjectName }}.fish' changelog: skip: true builds: - binary: tweety - main: ./cmd/tweety/main.go env: - CGO_ENABLED=0 goos: diff --git a/go.mod b/go.mod index 17acacc..b69d6bd 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( github.com/creack/pty v1.1.18 github.com/go-chi/chi/v5 v5.0.10 github.com/gorilla/websocket v1.5.0 + github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5 github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 github.com/spf13/cobra v1.7.0 github.com/tailscale/hujson v0.0.0-20221223112325-20486734a56a @@ -13,6 +14,5 @@ require ( require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5 // indirect github.com/spf13/pflag v1.0.5 // indirect )