We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fc5482 commit e7c093aCopy full SHA for e7c093a
.github/workflows/odh-notebooks-sync.yml
@@ -62,10 +62,8 @@ jobs:
62
mv $1 Pipfile
63
mv $2 Pipfile.lock
64
fi
65
- if ! pipenv install ${package_name}~="${CODEFLARE_RELEASE_VERSION}"; then
66
- echo "Failed to install ${package_name} with version ${CODEFLARE_RELEASE_VERSION} in $dir"
67
- exit 1
68
- fi
+ # replace existing version of cf-sdk with new version in Pipfile
+ echo "$(sed 's/codeflare-sdk = .*$/codeflare-sdk = \"~=$CODEFLARE_RELEASE_VERSION\"/g' Pipfile | envsubst)" > Pipfile
69
# Lock dependencies, ensuring pre-release are included and clear previous state
70
if ! pipenv lock --pre --clear ; then
71
echo "Failed to lock dependencies"
0 commit comments