haunt/.woodpecker.yml
abs3nt a374a1ff4d
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci: fix build steps
2023-03-04 15:17:22 -08:00

19 lines
449 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 > completions/haunt_bash
- ./bin/haunt copletion fish > completions/haunt_fish
publish:
image: goreleaser/goreleaser
commands:
- goreleaser release
secrets: [ gitea_token ]
when:
event: tag