Add a new field to designate module vs script #7
Replies: 4 comments
-
I have plans to add a
Or would a free-form property be better? |
Beta Was this translation helpful? Give feedback.
-
I don't know what all the project types it could be. I personally prefer a limited selection set, but this could be limiting to others. I think a comment field would be sufficient. As to reporting a version for the project. I see where you grab it from a module manifest, but can it manually be updated or read from a git tag? |
Beta Was this translation helpful? Give feedback.
-
You can always manually set a project version. By default, when you run
Or get creative. $v = (git tag -l | select -first 1).replace("v","")
Set-PSProjectStatus -ProjectVersion $v My tags start with v so I'm stripping it off. Remember that the property is trying to create a [version] type. And you can always manually edit the JSON file. |
Beta Was this translation helpful? Give feedback.
-
I'll be adding a |
Beta Was this translation helpful? Give feedback.
-
I love this concept. In my day-to-day work, I usually am working on multiple scripts and few modules. I'm going to use this module to track various scripts I develop at work, but adding another field to designate whether the project is a script or module would be of use to me. It may be considered redundant, but I'm curious what other's think.
Beta Was this translation helpful? Give feedback.
All reactions