Usually when using this package (like collective.cover) you need to follow a different workflow if you're into just calling fullrelease:
run longtest and fullrelease, as usually
answer "no" when asked to upload to PyPI and continue normally
do a checkout to the tag you're releasing
run bin/build-cover to update static files
create the distribution files using python setup.py sdist bdist_wheel as usual
upload the files using twine upload dist/*
It's possible to use entry_points from zest.releaser and hooks to call the webpack compiling stage when creating the build, after the checkout. Take collective.cover, for example:
If you want to check for virtualenv and another dependencies before doing the hook, you can add a prereleaser.before for example in entry_points.check_deps_to_build.
Usually when using this package (like collective.cover) you need to follow a different workflow if you're into just calling
fullrelease
:It's possible to use entry_points from zest.releaser and hooks to call the webpack compiling stage when creating the build, after the checkout. Take collective.cover, for example:
Edit your setup.cfg:
And add an entry_points.py:
If you want to check for virtualenv and another dependencies before doing the hook, you can add a
prereleaser.before
for example inentry_points.check_deps_to_build
.