2023-01-20 06:09:47 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: golang:1.19
|
|
|
|
commands:
|
|
|
|
- go build -o gospt
|
|
|
|
- ./gospt completion zsh > gospt_zsh
|
|
|
|
- ./gospt completion bash > gospt_bash
|
|
|
|
- ./gospt completion fish > gospt_fish
|
2023-01-21 16:12:15 +00:00
|
|
|
|
|
|
|
publish:
|
|
|
|
image: woodpeckerci/plugin-gitea-release
|
|
|
|
settings:
|
|
|
|
skip_verify: true
|
|
|
|
base_url: https://gitea.asdf.cafe
|
|
|
|
files:
|
|
|
|
- gospt
|
|
|
|
- gospt_zsh
|
|
|
|
- gospt_bash
|
|
|
|
- gospt_fish
|
|
|
|
api_key:
|
|
|
|
from_secret: GITEA_KEY
|
|
|
|
checksum: sha256
|
2023-01-21 18:42:17 +00:00
|
|
|
when:
|
|
|
|
event: tag
|