respect powershell naming convention

This commit is contained in:
David Refoua
2018-03-29 01:18:57 +04:30
parent 624deec2f0
commit 93d2c427ad
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ function Digest-Hash($path) {
return Invoke-Expression "md5sum $path"
}
function Get-Version-Str($file) {
function Get-VersionStr($file) {
# Define the regular expression to match the version string from changelog
[regex]$regex = '^## \[(?<version>[\w\-\.]+)\]\([^\n()]+\)\s+\([^\n()]+\)$';