Skip to content

Commit

Permalink
Fix Release Script for Updating SDK Version (#2104)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyvelich authored Jan 27, 2023
1 parent c55414e commit 3b0fcd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/v1beta1/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ make generate
# Change version in setup.py
cd sdk/python/v1beta1
if [[ $(uname) == "Darwin" ]]; then
sed -i '' -e "s@version='.*'@version='${sdk_version}'@" setup.py
sed -i '' -e "s@version=\".*\"@version=\"${sdk_version}\"@" setup.py
else
sed -i -e "s@version='.*'@version='${sdk_version}'@" setup.py
sed -i -e "s@version=\".*\"@version=\"${sdk_version}\"@" setup.py
fi
# Generate SDK and upload new version to PyPi.
python3 setup.py sdist bdist_wheel
Expand Down

0 comments on commit 3b0fcd2

Please sign in to comment.