aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-05-10 20:57:49 +0300
committerTulir Asokan <tulir@maunium.net>2020-05-10 20:57:49 +0300
commitaf6406e4c80b17cece619e4b53e9b69908c214ac (patch)
tree50fbdcbf5b08721131aa6a8025897c59b2ddc671
parent0b80cb9444e2aa0f2b41308496fb74f14c769767 (diff)
Change debian control directory permissions before building
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b08e911..4d3b252 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,7 +40,7 @@ windows/amd64:
paths:
- gomuks.exe
-debian package:
+debian:
image: debian
stage: package
dependencies:
@@ -48,4 +48,5 @@ debian package:
script:
- mkdir -p deb/usr/bin
- cp gomuks deb/usr/bin/gomuks
+ - chmod -R -s deb/DEBIAN && chmod -R 0755 deb/DEBIAN
- dpkg-deb --build deb gomuks-$(cat deb/DEBIAN/control | grep Version | awk '{ print $2 }').deb