Skip to content

Commit

Permalink
update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
pomdtr committed Dec 4, 2023
1 parent 06a939b commit 1628e51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/public/

/tweety.json
/dist/
7 changes: 3 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ 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
)

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
)

0 comments on commit 1628e51

Please sign in to comment.