You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
438 B
17 lines
438 B
Param(
|
|
[Parameter(Mandatory=$true, Position=0, HelpMessage="A branch name is #requires required")]
|
|
[string]$branch,
|
|
[Parameter(Mandatory=$true, Position=1, HelpMessage="A version is required")]
|
|
[string]$version
|
|
)
|
|
|
|
if ($branch -eq "<default>")
|
|
{
|
|
$branch = "teamcity";
|
|
}
|
|
|
|
Write-Host $branch;
|
|
Write-Host $version;
|
|
Write-Host "NzbDrone.$branch.$version.zip";
|
|
|
|
Rename-Item "nzbdrone.zip" "NzbDrone.$branch.$version.zip" |