File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ release:
1919 @if ! type -P sponge; then echo " Please install moreutils" ; exit 1; fi
2020 @if ! type -P http; then echo " Please install httpie" ; exit 1; fi
2121 @if ! type -P twine; then echo " Please install twine" ; exit 1; fi
22- $(eval REMOTE=$(shell git remote get-url origin | perl -ne '/([^\/\:]+\/. +?) (\.git) ? $$ /; print $$ 1' ))
22+ $(eval REMOTE=$(shell git remote get-url origin | perl -ne '/([^\/\:]+\/[^\/\:] +?) (\.git) ? $$ /; print $$ 1' ))
2323 $(eval GIT_USER=$(shell git config --get user.email) )
2424 $(eval GH_AUTH=$(shell if grep -q '@github.com' ~/.git-credentials; then echo $$(grep '@github.com' ~/.git-credentials | python3 -c 'import sys, urllib.parse as p; print(p.urlparse(sys.stdin.read( ) ) .netloc.split("@") [0])' ); else echo $(GIT_USER); fi))
2525 $(eval RELEASES_API=https://api.github.com/repos/${REMOTE}/releases)
@@ -46,7 +46,7 @@ release:
4646 $(MAKE ) release-docs
4747
4848release-pypi :
49- python setup.py sdist bdist_wheel
49+ python -m build
5050 twine upload dist/* .tar.gz dist/* .whl --sign --verbose
5151
5252release-docs :
You can’t perform that action at this time.
0 commit comments