Skip to content

Commit

Permalink
feat: check generated tar file before upload
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeWithEmad committed Dec 10, 2024
1 parent c289baa commit 2e61b39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ build-pythonpackage: ## Build Python package ready to upload to pypi
for f in dist/tutor_contrib_wordpress-*.tar.gz; do mv "$$f" "dist/tutor-contrib-wordpress-$(shell make version).tar.gz"; done

push-pythonpackage: ## Push python package to pypi
twine check dist/tutor-contrib-wordpress-$(shell make version).tar.gz
twine upload --skip-existing dist/tutor-contrib-wordpress-$(shell make version).tar.gz

version: ## Print the current tutor version
Expand Down

0 comments on commit 2e61b39

Please sign in to comment.