Skip to content

Commit

Permalink
[SDK-579] Remove trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
skyflow-tejesh-reddy authored Jun 28, 2022
1 parent 3c797be commit 52816dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci-scripts/bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 52816dd

Please sign in to comment.