From 55cf268d6ab3cbde415aff0c010ee5a1c0aaa91f Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 10 May 2020 21:02:12 +0300 Subject: [PATCH] Only build .deb for releases --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d3b252..22eeace 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,8 +45,13 @@ debian: stage: package dependencies: - linux/amd64 + only: + - tags 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 + - dpkg-deb --build deb gomuks.deb + artifacts: + paths: + - gomuks.deb