gospt/.drone.yml
jjohnstondev 105914fd48
Some checks failed
continuous-integration/drone/tag Build is failing
refac
2023-01-09 15:53:26 -08:00

35 lines
588 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang:1.19
commands:
- go build -o gospt
- ./gospt completion zsh > gospt_zsh
- ./gospt completion shell > gospt_shell
- ./gospt completion fish > gospt_fish
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret:
GITEA
base_url: https://gitea.asdf.cafe
files:
- gospt
- gospt_zsh
- gospt_shell
- gospt_fish
checksum: sha256
trigger:
event:
- tag
when:
event:
- tag
ref:
- refs/tags/v*