]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: create proper release tarball in archive job
authorTomas Krizek <tomas.krizek@nic.cz>
Mon, 5 Aug 2019 13:52:35 +0000 (15:52 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Mon, 5 Aug 2019 14:39:02 +0000 (16:39 +0200)
.gitlab-ci.yml

index fe728c1f2ef893837c0a34cb03b7b7be2bde83bf..bdc058986fb7e7aa00cfbe8148a6f02ed12c9cef 100644 (file)
@@ -50,7 +50,12 @@ archive:
     EMAIL: 'ci@nic'
   except: null
   script:
-    - ./scripts/make-dev-archive.sh
+    - >
+      if [[ -z "${CI_COMMIT_TAG}" ]]; then
+        ./scripts/make-dev-archive.sh
+      else
+        meson build_dist; ninja -C build_dist dist
+      fi
 
 build:
   <<: *build