We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6108372 commit e98c351Copy full SHA for e98c351
.gitlab-ci.yml
@@ -24,9 +24,9 @@ unit-tests:
24
###################
25
build-package:
26
stage: build
27
- variables:
28
- VERSION: build
29
script:
+ - VERSION=$(echo ${CI_COMMIT_REF_NAME} | sed "s/v//")
+ - export VERSION=$VERSION
30
- envsubst '${VERSION}' < setup.py > setup.py.new
31
- mv setup.py.new setup.py
32
- python3 setup.py sdist bdist_wheel
0 commit comments