Skip to content

Commit e0e9c8e

Browse files
committed
makefile: compile + build sdist/bdist before tagging in release target
Catches packaging/syntax errors locally before CI publishes to PyPI.
1 parent db8407e commit e0e9c8e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ release:
1818
git branch | grep \* | cut -d ' ' -f2 | grep master || exit 1
1919
git pull origin master
2020
-rm dist/*
21+
python -m compileall -q scrapfly
22+
python setup.py sdist bdist_wheel
2123
$(MAKE) generate-docs
2224
git add docs/*
2325
-git commit -m "Update API documentation for version $(VERSION)"

0 commit comments

Comments
 (0)