Automate release process to run in a BeeKeeper task
eliasdorneles opened this issue · comments
Ideally the releasing proceedure would be like:
- update release notes
- run a bump version script to bump version and create the proper tags
- run
git push; git push --tags
-- and these would trigger the release in CI
Some details on how I think this would work:
We would add a script for bumping the release numbers, commiting and tagging (I've used bumpversion
successfully in the past for several projects, but i don't know if it fits our requirements, notably regarding multiple tags and release numbers -- we may want to create our own).
We would add a task for beekeeper here with a name like voc-release
which would get triggered when pushing a tag (uh, is this possible?).
This task would decide what to do based on the tag:
- if it's a
vX.Y.Z
it willpython setup.py sdist bdist_wheel
andtwine upload
- if it's a
X.Y-bZ
it will use Python X.Y and then runant
andpython tools/upload bZ
@freakboy3742 does this make sense?