From 36cda53676da7b4afe57f45678ebe19853a56f27 Mon Sep 17 00:00:00 2001
From: MJB <mjb@it-innovation.soton.ac.uk>
Date: Tue, 27 Mar 2018 11:13:58 +0100
Subject: [PATCH] on_failure to clean up

---
 .gitlab-ci.yml | 6 +-----
 setup.py       | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4921dd9..4e499ff 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,3 @@
-variables:
-  TEST_PACKAGE_NAME: clmctest-SNAPSHOP-.tar.gz
-
 stages:  
   - build
   - test
@@ -9,11 +6,10 @@ stages:
 build:tests:
   stage: build
   script: 
-    - echo $TEST_PACKAGE_NAME
     - python setup.py sdist --dist-dir=build
   artifacts:
     paths:
-    - build/$TEST_PACKAGE_NAME
+    - build/clmctest-SNAPSHOT-.tar.gz
     expire_in: 1 day
 
 test:
diff --git a/setup.py b/setup.py
index a96fe95..a16cad5 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ def read(fname):
 
 setup(
     name = "clmctest",
-    version = "clmctest-SNAPSHOP",
+    version = "SNAPSHOP",
     author = "Michael Boniface",
     author_email = "mjb@it-innovation.soton.ac.uk",
     description = "FLAME CLMC Testing Module",
-- 
GitLab