gospt/.drone.yml
jjohnstondev 13b7899b0b
All checks were successful
continuous-integration/drone/tag Build is passing
fix
2023-01-09 15:56:03 -08:00

35 lines
585 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 bash > gospt_bash
- ./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_bash
- gospt_fish
checksum: sha256
trigger:
event:
- tag
when:
event:
- tag
ref:
- refs/tags/v*