Skip to content

Commit

Permalink
Fix publish command to work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pronovic committed Dec 19, 2020
1 parent 6be83a7 commit 2b69907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ run_docs() {
# For instance: poetry config pypi-token.pypi token --local
# See: https://python-poetry.org/docs/repositories/#configuring-credentials
run_publish() {
VERSION=$(poetry version)
VERSION=$(poetry version --no-ansi)
SHORT_VERSION=$(echo "$VERSION" | sed 's/^.* //g')

git tag -a "v$SHORT_VERSION" -m "Release $VERSION to PyPI"
Expand Down

0 comments on commit 2b69907

Please sign in to comment.