Skip to content

Commit

Permalink
add temporary script for python package version manipulation inside G…
Browse files Browse the repository at this point in the history
…oCD dev pipline

ref:eed5662b6146b034d8e0f3f95f90521b9697d3eb
  • Loading branch information
kizill committed Sep 12, 2018
1 parent 3927403 commit f9fca19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/fixup_python_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import os

version = os.environ.get('CATBOOST_PACKAGE_VERSION')
counter = os.environ.get('GO_PIPELINE_COUNTER', '0')
if version:
with open('catboost/python-package/catboost/version.py', 'w') as version_file:
version_file.write('VERSION = \'{}.{}\'\n'.format(version, counter))

0 comments on commit f9fca19

Please sign in to comment.