Open bcl opened 1 year ago
Hello @bcl,
please take a look at man tito.props
, the VERSION_TEMPLATE
section. I think it should work for your use-case.
You can see it configured in the Tito project itself https://github.com/rpm-software-management/tito/blob/master/.tito/tito.props#L12
Note that pyproject.toml
file is a standard file, something like setup.py
and templating it is quite complicated task (you most probably need to copy-paste the content and maintain both the template and the file itself).
It would be nice if tito supported this natively, similarly to the support for setup.py
version bumping.
Currently tito only supports updating the version in setup.py, which means that it is difficult to move a project using tito to use pyproject.toml from https://peps.python.org/pep-0621/