Skip to content

Commit

Permalink
Add help document to updateVersion.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleejordan committed Sep 26, 2024
1 parent 53a18ad commit ec055f6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tools/updateVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@ $f = $f -replace '^(?<prefix>\s+<ModuleVersion>)(.+)(?<suffix></ModuleVersion>)$
$f | Set-Content -Path $Path
git add $Path

git commit --edit --message v${Version}: $Changes"
"
$Path = "docs/Cmdlets/PSScriptAnalyzer.md"
$f = Get-Content -Path $Path
$f = $f -replace '^(?<prefix>Help Version: )(.+)$', "`${prefix}${Version}"
$f | Set-Content -Path $Path
git add $Path

git commit --edit --message "v${Version}: $Changes"

0 comments on commit ec055f6

Please sign in to comment.