Skip to content

Commit

Permalink
updated bump_version.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
saileshwar-skyflow committed Nov 5, 2024
1 parent aebc314 commit 0dd7789
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci-scripts/bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ then
echo "Done, Package now at $1"

else
echo "Bumping package version to $1-dev.$2"
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/SDK_VERSION = .+/SDK_VERSION = \'$SEMVER-dev.$2\'/g" skyflow/version.py > tempfile && cat tempfile > skyflow/version.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
sed -E "s/SDK_VERSION = .+/SDK_VERSION = \'$SEMVER-dev+$2\'/g" skyflow/version.py > tempfile && cat tempfile > skyflow/version.py && rm -f tempfile

echo --------------------------
echo "Done, Package now at $1-dev.$2"
echo "Done, Package now at $1-dev+$2"
fi

0 comments on commit 0dd7789

Please sign in to comment.