Skip to content

Commit 0190f36

Browse files
committed
Merge branch 'Fix_pipeline' into 'master'
Update .gitlab-ci.yml See merge request open-platform/sdk/python!4
2 parents 6108372 + e98c351 commit 0190f36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ unit-tests:
2424
###################
2525
build-package:
2626
stage: build
27-
variables:
28-
VERSION: build
2927
script:
28+
- VERSION=$(echo ${CI_COMMIT_REF_NAME} | sed "s/v//")
29+
- export VERSION=$VERSION
3030
- envsubst '${VERSION}' < setup.py > setup.py.new
3131
- mv setup.py.new setup.py
3232
- python3 setup.py sdist bdist_wheel

0 commit comments

Comments
 (0)