Skip to content

Commit

Permalink
* Release 1.0.0
Browse files Browse the repository at this point in the history
* Removed unused function from PS script.
  • Loading branch information
viniciusjarina committed Jan 29, 2019
1 parent 8a9f5b5 commit db54559
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions BuildFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,6 @@ function Test-Should-Deploy ()
return $false
}

function Test-Commit-Message-Deploy ()
{
[string] $message = Get-Current-Commit-Message
$message = $message.ToLower()
if ($message.Contains("/deploy") -or
$message.Contains(":deploy")-or
$message.Contains("/publish") -or
$message.Contains(":publish")) {
return $true
}
return $false
}

function Get-Published-PreRelase-Package ($PackageId)
{
$out = [string](nuget list -PreRelease id:$PackageId)
Expand Down Expand Up @@ -222,6 +209,7 @@ function Get-Next-Version-String ($PackageId)

$prefix = Get-Prefix-Name
$prefix = $prefix.Replace("-", "")
$prefix = $prefix.Replace("_", "")
$prefix = $prefix.Replace(".", "")
$nextVersion = ""

Expand Down

0 comments on commit db54559

Please sign in to comment.