-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Something @nonprofittechy brought up in a meeting, I like the idea for user-facing Docassemble interviews!1
Most of our Docassemble interviews could use either just a single number version or date versioning, and this action should:
- pull the repo
- find the version number
- will be in
__init__.pyandsetup.py/pyproject.toml, or just in__init__.py(depending on the package and what version of DA it's using)
- will be in
- update it
- if it's a single number, increment it
- if it's a series of 3 or 4 numbers where the first is 4 digits (i.e. a year), update it to the current date.
- if it's already today, add or increment a 4th number to distinguish
- write the new version back to the files
- make a git commit with a special tag in the commit message (like
[autobump]or something), and push the commit to main (similar to some repos that use[skip ci]) in certain commits.
Each repo have another action that would automatically publish / push to PyPI on the autobump on those special commits.
Footnotes
-
For our library packages (AssemblyLine, ALToolbox) where semantic versioning is still useful, I think an automatic version bump action is less useful. ↩
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request