Skip to content

Commit

Permalink
Temporarily disable master restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
muratiakos committed Jan 5, 2018
1 parent 3f2e393 commit b92ebd4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Deploy/PSGallery.PSDeploy.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Publish to gallery with a few restrictions
if ($env:BHBuildSystem -ine 'Unknown' -and $env:BHBranchName -eq "master") {
if ($env:BHBuildSystem -ine 'Unknown') { # -and $env:BHBranchName -eq "master") {
Deploy Module {
By PSGalleryModule {
FromSource $Env:BHPSModulePath
Expand All @@ -10,8 +10,8 @@ if ($env:BHBuildSystem -ine 'Unknown' -and $env:BHBranchName -eq "master") {
}
}
} else {
"Skipping deployment: To deploy, ensure that...`n" +
"`t* You are in a known build system (Current: $ENV:BHBuildSystem)`n" +
"`t* You are committing to the master branch (Current: $ENV:BHBranchName) `n" |
"Skipping PSGallery deployment, since build running:`n" +
"`t* in an unknown build system (Current: $ENV:BHBuildSystem)`n" +
"`t* or not in the master branch (Current: $ENV:BHBranchName) `n" |
Write-Host -ForegroundColor Yellow
}

0 comments on commit b92ebd4

Please sign in to comment.