You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/Public/Invoke-PSModuleBuild.ps1
+36-63Lines changed: 36 additions & 63 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,16 @@ Function Invoke-PSModuleBuild {
48
48
Any release notes you want to include in the module manifest. If a manifest file already exists Invoke-PSModuleBuild will
49
49
read the release notes from it and join the new release notes together.
50
50
51
+
.PARAMETERIncrementVersion
52
+
If a previous manifest file is located, PSModuleBuild will automatically increment the version number (unless you set this parameter to
53
+
"None"). Set which field you want to increment "major", "minor", "build" or "revision" or set it to "last" and it will increment the last
54
+
field that previous existed. For example:
55
+
56
+
1.1 would become 1.2
57
+
1.0.0.3 would become 1.0.0.4
58
+
59
+
Default settings is "Last"
60
+
51
61
.INPUTS
52
62
None
53
63
@@ -88,6 +98,7 @@ Function Invoke-PSModuleBuild {
88
98
1.0.14 Rename to Invoke-PSModuleBuild and create module named PSModuleBuild. Added ReleaseNotes support (New and Update-ModuleManifest treat ReleaseNotes differently)
89
99
1.0.15 Updated comment based help
90
100
1.1 Added multiple target paths
101
+
1.1.38 Fixed bug with release notes. Added IncrementVersion
91
102
.LINK
92
103
https://github.com/martin9700/PSModuleBuild
93
104
#>
@@ -98,7 +109,9 @@ Function Invoke-PSModuleBuild {
0 commit comments