-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.yml
42 lines (38 loc) · 820 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
kind: pipeline
name: release
trigger:
event:
- tag
steps:
- name: "Build Script"
image: ubuntu
pull: if-not-exists
commands:
- chmod +x ./utils/linac
- mkdir build
- ./utils/linac build axon.sh.build
- mv build/axon.sh axon.sh
- name: "Sign Release Artifacts"
image: plugins/gpgsign
settings:
key:
from_secret: gpg_key
passphrase:
from_secret: key_passphrase
files:
- axon.sh
detach_sign: true
- name: "Create Gitea Release"
image: plugins/gitea-release
settings:
api_key:
from_secret: api_key
base_url: https://git.thisisjoes.site
files:
- axon.sh
- axon.sh.asc
checksum:
- md5
- sha256
title: "${DRONE_TAG}"
prerelease: false