gospt/.woodpecker.yml
2024-07-06 13:18:09 -07:00

19 lines
444 B
YAML

steps:
build:
image: golang:1.22
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