Skip to content

Commit

Permalink
fix: commented version field in pyproject.toml, mentioning it being a…
Browse files Browse the repository at this point in the history
…uto-set on tagged releases in CI
  • Loading branch information
ErikBjare committed Dec 6, 2023
1 parent 3a63d33 commit 59fba76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
# set pyproject.toml version to github.ref_name (without v prefix)
# just in case someone forgot...
VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
sed -i 's/^version = ".*"$/version = "'"$VERSION"'"/' pyproject.toml
sed -i 's/^version = ".*"/version = "'"$VERSION"'"/' pyproject.toml
poetry publish --build --username=__token__ --password=$PYPI_TOKEN
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "uniswap-python"
version = "0.7.2"
version = "0.7.2" # this is automatically set in CI on tagged releases (before pushed to PyPI)
description = "An unofficial Python wrapper for the decentralized exchange Uniswap"
repository = "https://github.com/shanefontaine/uniswap-python"
readme = "README.md"
Expand Down

0 comments on commit 59fba76

Please sign in to comment.