diff options
author | varac <varacanero@zeromail.org> | 2017-02-16 17:48:30 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2017-02-16 17:48:30 +0100 |
commit | 4a3a0a8fb0a4b4e8bb66c01f4fc35c58f8bc7986 (patch) | |
tree | e549cf18aab9427fcfbcfbc153fd88348eaa4b4d /.gitlab-ci.yml | |
parent | 47a6d4f1b0ffe591ecf0391230469f0a0759e40c (diff) |
Write current git tag+commit in _version.py
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0ca3273..e2db3a8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,10 +7,10 @@ stages: stage: package image: "0xacab.org:4567/leap/gitlab-buildpackage:build_${DIST}_${ARCH}" script: - # Remove hardcoded pep440 version file so + # Override hardcoded pep440 version file so # `python setup.py version` reports the correct one # based on `git describe` - - '[ -f src/leap/mx/_version.py ] && rm src/leap/mx/_version.py' + - 'echo y | python setup.py freeze_debianver' - build-build-package # sleep 1h to allow debugging of running container #- sleep 3600 |