Skip to content

Commit

Permalink
Updated the sed command to replace the version.
Browse files Browse the repository at this point in the history
  • Loading branch information
akdigitalself committed Feb 28, 2024
1 parent 4e15d37 commit e4de0fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
include:
- project: 'analytics/artificial-intelligence/ai-platform/aip-infrastructure/ci-templates/ci-cd-template'
ref: &include_ref 'v3' # TODO use v4?
ref: &include_ref 'v3'
file: 'environments/devex.yml'
- project: 'analytics/artificial-intelligence/ai-platform/aip-infrastructure/ci-templates/ci-cd-template'
ref: *include_ref
ref: *include_ref # TODO Use V4?
file: '/blocks/python.yml'

variables:
Expand Down Expand Up @@ -45,7 +45,7 @@ build:publish:
- *version
# Now write back the zillow-kserve version back to the original location we found the original so
# python package managers can reference it as they need the version stored internally.
- sed -i "s/\(version=['\"]\)[^'\"]*\(['\"]\)/\1${PY_LIBRARY_VERSION}\2/" $KSERVE_VERSION_PATH
- sed -i "s/version=version/version=\${PY_LIBRARY_VERSION}/" $KSERVE_VERSION_PATH
- cd python/kserve
- python setup.py sdist
# Set up the configuration for Artifactory to publish the python package internally.
Expand Down

0 comments on commit e4de0fc

Please sign in to comment.