From ee85005f16eb3411c03c863821d24e3847e05445 Mon Sep 17 00:00:00 2001 From: MJB <mjb@it-innovation.soton.ac.uk> Date: Tue, 27 Mar 2018 11:12:41 +0100 Subject: [PATCH] on_failure to clean up --- .gitlab-ci.yml | 5 ++--- setup.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6bd1885..4921dd9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - TEST_PACKAGE_NAME: clmctest-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA-.tar.gz + TEST_PACKAGE_NAME: clmctest-SNAPSHOP-.tar.gz stages: - build @@ -8,9 +8,8 @@ stages: build:tests: stage: build - script: + script: - echo $TEST_PACKAGE_NAME - - echo "$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA" > clmctest/git-commit-ref - python setup.py sdist --dist-dir=build artifacts: paths: diff --git a/setup.py b/setup.py index 966eca2..a96fe95 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ def read(fname): setup( name = "clmctest", - version = read('clmctest/git-commit-ref'), + version = "clmctest-SNAPSHOP", author = "Michael Boniface", author_email = "mjb@it-innovation.soton.ac.uk", description = "FLAME CLMC Testing Module", -- GitLab