diff options
author | varac <varacanero@zeromail.org> | 2017-02-16 17:14:04 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2017-02-16 17:14:50 +0100 |
commit | 47a6d4f1b0ffe591ecf0391230469f0a0759e40c (patch) | |
tree | a33e2930ad1ca4577fcbfe211c61e75451bd599f | |
parent | b3ae5903c082f3e5540251ce47e60cc5c227787f (diff) |
Only remove _version.py if it exists
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 628d9b9..0ca3273 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ stages: # Remove hardcoded pep440 version file so # `python setup.py version` reports the correct one # based on `git describe` - - rm src/leap/mx/_version.py + - '[ -f src/leap/mx/_version.py ] && rm src/leap/mx/_version.py' - build-build-package # sleep 1h to allow debugging of running container #- sleep 3600 |