Skip to content

Commit

Permalink
Merge pull request #1222 from ivaradi/new-drone-debian
Browse files Browse the repository at this point in the history
Reinstate Debian build in the new Drone config
  • Loading branch information
ivaradi authored Jul 25, 2019
2 parents be3713a + d6ab792 commit f462bfc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,26 @@ trigger:
event:
- pull_request
- push
---
kind: pipeline
name: Debian

steps:
- name: build
image: nextcloudci/client-debian-ci:client-debian-ci-2
commands:
- /bin/bash -c "./admin/linux/debian/drone-build.sh"
environment:
DEBIAN_SECRET_KEY:
from_secret: DEBIAN_SECRET_KEY
DEBIAN_SECRET_IV:
from_secret: DEBIAN_SECRET_IV
trigger:
branch:
- master
event:
- pull_request
- push
---
kind: pipeline
name: Documentation
Expand Down
4 changes: 3 additions & 1 deletion admin/linux/debian/scripts/git2changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ def collectEntries(baseCommit, baseVersion, kind):
lastVersionTag = None
lastCMAKEVersion = None
for line in output.splitlines():
(commit, name, email, date, revdate, subject) = line.split("\t")
words = line.split("\t")
(commit, name, email, date, revdate) = words[0:5]
subject = "\t".join(words[5:])
revdate = datetime.datetime.utcfromtimestamp(long(revdate)).strftime("%Y%m%d.%H%M%S")

kind = "beta"
Expand Down

0 comments on commit f462bfc

Please sign in to comment.