haunt/.woodpecker.yml
abs3nt a7ee2b8499
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
revert 90301141af
revert ci: fix
2023-03-04 16:45:52 -08:00

26 lines
644 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 completion fish > completions/haunt_fish
publish:
image: goreleaser/goreleaser
commands:
- goreleaser release --clean
secrets: [ gitea_token ]
when:
event: tag
publish-github:
image: goreleaser/goreleaser
commands:
- goreleaser release --config .githubrelease.yaml --clean
secrets: [ github_token ]
when:
event: tag