haunt/.woodpecker.yml
abs3nt 15a6431b19
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
ci: add goreleaser
2023-03-04 15:14:49 -08:00

19 lines
447 B
YAML

pipeline:
build:
image: golang
commands:
- go mod tidy
- go build -o bin/haunt
- mkdir completions
- ./bin/haunt completion zsh > completions/haunt_zsh
- ./bin/haunt completion bash > completion/haunt_bash
- ./bin/haunt copletion fish > completion/haunt_fish
publish:
image: goreleaser/goreleaser
commands:
- goreleaser release
secrets: [ gitea_token ]
when:
event: tag