Skip to content

Commit

Permalink
Fix bug in release script (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
bachya committed Jun 11, 2022
1 parent c0818a6 commit ee5e028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/release
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ new_version=$(generate_version)
# Update the PyPI package version:
sed -i "" "s/^version = \".*\"/version = \"$new_version\"/g" "$REPO_PATH/pyproject.toml"
sed -i "" "s/^__version__ = \".*\"/__version__ = \"$new_version\"/g" "$REPO_PATH/ecowitt2mqtt/const.py"
git add pyproject.toml
git add ecowitt2mqtt/ pyproject.toml

# Commit, tag, and push:
git commit -m "Bump version to $new_version"
Expand Down

0 comments on commit ee5e028

Please sign in to comment.