haunt/.woodpecker.yml

19 lines
449 B
YAML
Raw Normal View History

2023-03-04 22:22:03 +00:00
pipeline:
build:
image: golang
commands:
- go mod tidy
2023-03-04 23:14:49 +00:00
- go build -o bin/haunt
- mkdir completions
- ./bin/haunt completion zsh > completions/haunt_zsh
2023-03-04 23:17:22 +00:00
- ./bin/haunt completion bash > completions/haunt_bash
- ./bin/haunt copletion fish > completions/haunt_fish
2023-03-04 23:14:49 +00:00
publish:
image: goreleaser/goreleaser
commands:
- goreleaser release
secrets: [ gitea_token ]
when:
event: tag