gospt/.drone.yml
abs3nt 2c37f24fa8
All checks were successful
continuous-integration/drone/tag Build is passing
ci
2023-01-16 12:39:43 -08:00

35 lines
594 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:
drone_releases
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*