Merge pull request #1482 from PowerShell/RaghuS-PackagingBranch

Generate consistent package names for various Win platforms
This commit is contained in:
Andy Schwartzmeyer authored and GitHub committed 2016-07-22 14:23:50 -07:00
commit 2f8872bd99
1 file changed
+5
+5
View File
@@ -68,6 +68,11 @@ on_finish:
# Creating project artifact # Creating project artifact
$name = git describe $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" $zipFilePath = Join-Path $pwd "$name.zip"
$zipFileFullPath = Join-Path $pwd "$name.FullCLR.zip" $zipFileFullPath = Join-Path $pwd "$name.FullCLR.zip"
Add-Type -assemblyname System.IO.Compression.FileSystem Add-Type -assemblyname System.IO.Compression.FileSystem