Skip to content

Commit

Permalink
[Python] Make sure XrdVersion.hh is generated correctly during pip in…
Browse files Browse the repository at this point in the history
…stall.
  • Loading branch information
simonmichal committed Jun 8, 2020
1 parent f1aef3c commit bd77c93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Expand Up @@ -412,6 +412,7 @@ release:pypi:
stage: build:rpm
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
script:
- ./gen_pip_versioninfo.sh
- yum install --nogpg -y git python-pip which
- pip install --upgrade pip
- pip install setuptools wheel --upgrade
Expand Down
3 changes: 3 additions & 0 deletions gen_pip_versioninfo.sh
@@ -0,0 +1,3 @@
#!/bin/bash
tag=$(git describe --tags --abbrev=0 --exact-match)
echo "RefNames:$tag" > VERSION_INFO

0 comments on commit bd77c93

Please sign in to comment.