From 713b31a0f7d63d9367b09a75e09c429875004b8d Mon Sep 17 00:00:00 2001 From: Joshua T Date: Wed, 2 Dec 2015 15:43:08 -0600 Subject: [PATCH] Removed tag requirement for Deploy.ps1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With master being a protected branch in GitHub, it doesn’t make sense to keep requiring the [release] tag in every commit to be released. --- Tests/Deploy.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/Deploy.ps1 b/Tests/Deploy.ps1 index 86dc7ba3..64a90032 100644 --- a/Tests/Deploy.ps1 +++ b/Tests/Deploy.ps1 @@ -50,10 +50,10 @@ $shouldDeploy = $false if ($env:APPVEYOR_REPO_BRANCH -ne 'master') { Write-Host "This commit is not to branch [master], so it will not be published." -ForegroundColor Yellow -} elseif ($env:APPVEYOR_REPO_COMMIT_MESSAGE -notmatch '\[release\]' -and $env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED -notmatch '\[release\]') { - Write-Host "This commit does not include the message " -ForegroundColor Yellow -NoNewline - Write-Host "[release]" -ForegroundColor Green -NoNewline - Write-Host ", so it will not be published." -ForegroundColor Yellow +#} elseif ($env:APPVEYOR_REPO_COMMIT_MESSAGE -notmatch '\[release\]' -and $env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED -notmatch '\[release\]') { +# Write-Host "This commit does not include the message " -ForegroundColor Yellow -NoNewline +# Write-Host "[release]" -ForegroundColor Green -NoNewline +# Write-Host ", so it will not be published." -ForegroundColor Yellow } elseif ($PSVersionTable.PSVersion -lt '5.0.0') { Write-Warning "We are not running in a PowerShell 5 environment, so the module cannot be pulbished." } else {