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"