This commit is contained in:
parent
0b6adac84c
commit
98a23b4d31
34
.drone.yml
34
.drone.yml
@ -1,34 +0,0 @@
|
|||||||
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*
|
|
Loading…
Reference in New Issue
Block a user