gospt/.woodpecker.yml

19 lines
447 B
YAML
Raw Normal View History

2023-01-20 06:09:47 +00:00
pipeline:
build:
image: golang:1.19
commands:
- go mod tidy
2023-01-20 06:09:47 +00:00
- go build -o gospt
2023-02-28 17:03:34 +00:00
- mkdir completions
2023-02-28 17:02:16 +00:00
- ./gospt completion zsh > completions/gospt_zsh
- ./gospt completion bash > completions/gospt_bash
- ./gospt completion fish > completions/gospt_fish
2023-01-21 16:12:15 +00:00
publish:
2023-03-05 23:15:56 +00:00
image: goreleaser/goreleaser
2023-02-28 16:11:32 +00:00
commands:
2023-03-05 00:20:48 +00:00
- goreleaser release --clean
2023-02-28 16:18:08 +00:00
secrets: [ gitea_token ]
2023-01-21 18:42:17 +00:00
when:
event: tag