trim trailing newline
This commit is contained in:
@@ -108,6 +108,10 @@ task SetVersion {
|
|||||||
" Setting version [$version]"
|
" Setting version [$version]"
|
||||||
Update-Metadata -Path $ManifestPath -PropertyName 'ModuleVersion' -Value $version
|
Update-Metadata -Path $ManifestPath -PropertyName 'ModuleVersion' -Value $version
|
||||||
|
|
||||||
|
(Get-Content -Path $ManifestPath -Raw -Encoding UTF8) |
|
||||||
|
% trimend |
|
||||||
|
Set-Content -Path $ManifestPath -Encoding UTF8
|
||||||
|
|
||||||
Set-Content -Path $versionFile -Value $versionStamp -NoNewline -Encoding UTF8
|
Set-Content -Path $versionFile -Value $versionStamp -NoNewline -Encoding UTF8
|
||||||
|
|
||||||
if(Test-Path $BuildRoot\fingerprint)
|
if(Test-Path $BuildRoot\fingerprint)
|
||||||
|
|||||||
Reference in New Issue
Block a user