From 3e139dba8b8fcc15c201803a0ae27255ada43c14 Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Fri, 19 Jul 2019 20:05:37 -0400
Subject: [PATCH] gitlab-ci: Fix source tarball job

* Use show! in source tarball job. Since we aren't actually building
  anything in this job `show` won't
  work.

* Fix Docker image name

* Make `version` file contain only version string
---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 86192d81959f..a6bd2cfc75d2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -701,7 +701,9 @@ source-tarball:
     - ./configure
     - make sdist
     - mv sdistprep/*.xz  .
-    - make show VALUE=version > version
+    - make show! --quiet VALUE=ProjectVersion > version
+    - source version
+    - echo "$ProjectVersion" > version
 
 
 ############################################################
-- 
GitLab