Closed hectormartinezdev closed 6 years ago
I am seeing this issue as well.
My temporary fix looks like this:
release: upload clean ## Upload a release, clean
upload: ## package and upload a release
twine upload dist/*
Edit: Fix typo
My fix is:
release: clean dist upload clean ## clean, build, upload and clean again
upload: ## upload the contents of dist/* with twine
twine upload dist/*
I didn't think about doing an upload target, I was using $(MAKE) clean
at the end of release target file to call again clean. But you inspired me :+1:
Edit: typos everywhere
Looks like there's a PR #420 that addresses this also.
Closing this then, since there is a PR that addresses it.
Description
make release
callsclean
, which callsclean-build
, which removes thedist
folder andtwine upload dist/*
fails.What I Did
Edit: bad command names. Edit2: title typo.