-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Currently, the script only supports semantic versioning tags in the following formats:
1.2.2-alpha1.2.2-alpha.31.2.2-alpha.betav2.3.4-beta
For monorepos, it is important to support scoped tags that include a prefix (e.g. firmware/v1.0.1) so that each subproject can manage its versions independently.
Enhancements Required
Add support for custom tag prefixes
-
Allow the script to filter tags based on a given prefix (e.g.
firmware/). -
Ensure the versioning logic still validates semantic versioning after stripping the prefix.
-
Accept tag formats like:
firmware/v1.0.0backend/1.2.2-alphafrontend/v2.3.4-beta
Improve command-line argument parsing
-
Replace
sys.argvwith a robust CLI parser such asargparse. -
Allow the user to specify:
- Tag prefix (e.g.
--prefix firmware/) - Other options as needed (e.g. verbosity, dry-run, etc.)
- Tag prefix (e.g.
Checklist
- Rewrite version parsing to support custom prefixes.
- Update CLI argument parsing using a standard parser.
- Update documentation with usage examples.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed