From 6d26fa8afc6a94540c4ded417625ac96117221fe Mon Sep 17 00:00:00 2001
From: jswaelens <jonathan.swaelens@opensides.be>
Date: Thu, 12 Apr 2018 22:33:30 +0200
Subject: [PATCH] Merge branch '5774-add-artifcats-to-build' into '1.3-dev'

Resolve "Add artifcats to build"

Closes #5774

See merge request fusiondirectory/fd!231

(cherry picked from commit 3b3879e41708ad3d29ab3e38a36783292fe82411)

4a0e953f :ambulance: fix(gitlab-ci): Use changelog.md for script in build tarball too
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c0c9348ff..802a2ab8d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -127,7 +127,7 @@ build-release:
   only:
     - tags
   script: 
-    - tar -cvzf fusiondirectory-core-$(grep '*' Changelog | head -n1 | cut -d ' ' -f3).tar.gz *
+    - tar -cvzf fusiondirectory-core-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"').tar.gz *
   artifacts:
     paths:
       - fusiondirectory-core-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"').tar.gz
-- 
GitLab