mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Generate consistent package names for various platforms
This commit is contained in:
1 parent
082e35e009
commit
f25917d8d0
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user