beeware / voc

A transpiler that converts Python code into Java bytecode

Home Page:http://beeware.org/voc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automate release process to run in a BeeKeeper task

eliasdorneles opened this issue · comments

Ideally the releasing proceedure would be like:

  1. update release notes
  2. run a bump version script to bump version and create the proper tags
  3. 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 will python setup.py sdist bdist_wheel and twine upload
  • if it's a X.Y-bZ it will use Python X.Y and then run ant and python tools/upload bZ

@freakboy3742 does this make sense?