diff --git a/.drone.yml b/.drone.yml index d750c5519..9410c1bb5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/admin/linux/debian/scripts/git2changelog.py b/admin/linux/debian/scripts/git2changelog.py index 58bf9859d..3a1b44fb6 100755 --- a/admin/linux/debian/scripts/git2changelog.py +++ b/admin/linux/debian/scripts/git2changelog.py @@ -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"