Skip to content

Commit

Permalink
Fixed updater script
Browse files Browse the repository at this point in the history
  • Loading branch information
moleculekayak committed Dec 20, 2024
1 parent f035ee0 commit a526a60
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bump-version
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ echo # move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]; then
# Update the version in the pyproject.toml file
sed -i "" "s/^version = \".*\"/version = \"$NEW_VERSION\"/g" "pyproject.toml"
git add pyproject.toml
git commit -m "Bump version to $NEW_VERSION"

# Set the git tag
git tag "v$NEW_VERSION"

git add pyproject.toml
git commit -m "Bump version to $NEW_VERSION"
# Push the changes
git push origin master
git push origin tag "v$NEW_VERSION"
fi

0 comments on commit a526a60

Please sign in to comment.