File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ release_patch:
1414
1515release :
1616 @if [[ -z $$ TAG ]]; then echo " Use release_{major,minor,patch}" ; exit 1; fi
17+ @if ! type -P pandoc; then echo " Please install pandoc" ; exit 1; fi
18+ @if ! type -P sponge; then echo " Please install moreutils" ; exit 1; fi
19+ @if ! type -P http; then echo " Please install httpie" ; exit 1; fi
20+ @if ! type -P twine; then echo " Please install twine" ; exit 1; fi
1721 $(eval REMOTE=$(shell git remote get-url origin | perl -ne '/([^\/\:]+\/.+?) (\.git) ? $$ /; print $$ 1' ))
1822 $(eval GIT_USER=$(shell git config --get user.email) )
1923 $(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))
@@ -40,6 +44,7 @@ release:
4044 $(MAKE ) pypi_release
4145
4246pypi_release :
43- python setup.py sdist bdist_wheel upload --sign
47+ python setup.py sdist bdist_wheel
48+ twine upload dist/* .tar.gz dist/* .whl --sign --verbose
4449
4550.PHONY : release
You can’t perform that action at this time.
0 commit comments