From 52816dddc5c5ed887073f83ce7b38ff81cc5e2f8 Mon Sep 17 00:00:00 2001 From: skyflow-tejesh-reddy <86997821+skyflow-tejesh-reddy@users.noreply.github.com> Date: Tue, 28 Jun 2022 18:17:51 +0530 Subject: [PATCH] [SDK-579] Remove trailing comma --- ci-scripts/bump_version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-scripts/bump_version.sh b/ci-scripts/bump_version.sh index 88f70be..59f00df 100755 --- a/ci-scripts/bump_version.sh +++ b/ci-scripts/bump_version.sh @@ -5,14 +5,14 @@ if [ -z $2 ] then echo "Bumping package version to $1" - sed -E "s/current_version = .+/current_version = \'$SEMVER\',/g" setup.py > tempfile && cat tempfile > setup.py && rm -f tempfile + sed -E "s/current_version = .+/current_version = \'$SEMVER\'/g" setup.py > tempfile && cat tempfile > setup.py && rm -f tempfile echo -------------------------- echo "Done, Package now at $1" else echo "Bumping package version to $1-dev.$2" - sed -E "s/current_version = .+/current_version = \'$SEMVER-dev.$2\',/g" setup.py > tempfile && cat tempfile > setup.py && rm -f tempfile + sed -E "s/current_version = .+/current_version = \'$SEMVER-dev.$2\'/g" setup.py > tempfile && cat tempfile > setup.py && rm -f tempfile echo -------------------------- echo "Done, Package now at $1-dev.$2"