2013-02-15 23:59:20 +00:00
|
|
|
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
|
|
|
|
)
|
|
|
|
|
2013-02-16 00:05:07 +00:00
|
|
|
if ($branch -eq "<default>")
|
2013-02-15 23:59:20 +00:00
|
|
|
{
|
|
|
|
$branch = "teamcity";
|
|
|
|
}
|
|
|
|
|
|
|
|
Write-Host $branch;
|
|
|
|
Write-Host $version;
|
|
|
|
Write-Host "NzbDrone.$branch.$version.zip";
|
|
|
|
|
|
|
|
Rename-Item "nzbdrone.zip" "NzbDrone.$branch.$version.zip"
|