Skip to content

Commit 2e61b39

Browse files
committed
feat: check generated tar file before upload
1 parent c289baa commit 2e61b39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ build-pythonpackage: ## Build Python package ready to upload to pypi
3939
for f in dist/tutor_contrib_wordpress-*.tar.gz; do mv "$$f" "dist/tutor-contrib-wordpress-$(shell make version).tar.gz"; done
4040

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

4445
version: ## Print the current tutor version

0 commit comments

Comments
 (0)