forked from bdutro/deluge-labelplus
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.drone.yml
57 lines (51 loc) · 971 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
kind: pipeline
type: docker
name: default
steps:
# note zest does everything, including tagging!
- name: version-tag-changelog
image: python:3-bookworm
commands:
- pip install zest.releaser
- fullrelease --no-input
when:
branch:
- master
- name: git-push
image: appleboy/drone-git-push
settings:
ssh_key:
from_secret: github_ssh_key
remote: "${DRONE_GIT_SSH_URL}"
force: false
followtags: true
when:
branch:
- master
- name: build
image: python:3-alpine
commands:
- pip install --no-cache-dir setuptools
- python setup.py bdist_egg
when:
event: tag
- name: github-release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
files:
- dist/*
title: "${DRONE_TAG}"
#note: CHANGELOG.md
checksum:
- sha256
when:
event: tag
trigger:
ref:
- refs/heads/master
#- refs/heads/develop
- refs/heads/feature/*
- refs/tags/*