generated from demaconsulting/TemplateDotNetTool
-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
The tool needs to implement version capturing.
Proposed Solution
I propose the following solution:
- Introduce a Version Info record containing the Job ID and a dictionary of tool-name to version
- Add a FindVersions method to VersionMarkConfig which takes a list of tool-names and returns a populated Version Info record
The FindVersions needs to run the command, capture the output, and process using the regular expression.
It may be possible to test the FindVersions implementation by having it run dotnet [version-mark-dll-name] --version because the test knows the output should be the same as the Program.Version.
Alternatives Considered
No response
Usage Examples
Benefits
The Version Info record is a necessary part of the tool.
Priority
High - Blocking my use case
Willingness to Contribute
Yes, I can submit a pull request
Additional Context
No response
Checklist
- I have searched existing issues to ensure this is not a duplicate
- I have provided a clear description of the feature
- I have explained why this feature would be useful
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request