From af6406e4c80b17cece619e4b53e9b69908c214ac Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 10 May 2020 20:57:49 +0300 Subject: [PATCH] Change debian control directory permissions before building --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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