Generate consistent package names for various platforms

This commit is contained in:
Raghu Shantha [MSFT]
2016-07-22 10:35:51 -07:00
parent 082e35e009
commit f25917d8d0
+5
View File
@@ -68,6 +68,11 @@ on_finish:
# Creating project artifact
$name = git describe
# Remove 'v' from version, append 'PowerShell' - to be consistent with other package names
$name = $name -replace 'v',''
$name = 'PowerShell_' + $name
$zipFilePath = Join-Path $pwd "$name.zip"
$zipFileFullPath = Join-Path $pwd "$name.FullCLR.zip"
Add-Type -assemblyname System.IO.Compression.FileSystem