gospt/.woodpecker.yml
abs3nt 4cd781d5db
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
pipeline -> steps
2023-10-20 10:55:20 -07:00

19 lines
444 B
YAML

steps:
build:
image: golang:1.21
commands:
- go mod tidy
- go build -o gospt
- mkdir completions
- ./gospt completion zsh > completions/gospt_zsh
- ./gospt completion bash > completions/gospt_bash
- ./gospt completion fish > completions/gospt_fish
publish:
image: goreleaser/goreleaser
commands:
- goreleaser release --clean
secrets: [ gitea_token ]
when:
event: tag