guildgate/.drone.yml
Steve cbe9ce4ede
All checks were successful
continuous-integration/drone/tag Build is passing
use proper file paths
2021-08-07 15:15:05 -04:00

30 lines
497 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: golang
commands:
- make
- name: create release tar
image: golang
commands:
- mkdir dist build
- DESTDIR=build make install
- tar -czf dist/release-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz build/* init/*
when:
event: tag
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
files:
- dist/*
base_url: https://git.saintnet.tech
when:
event: tag