Skip to content

Commit

Permalink
!deploy add Update-GSCalendarEvent and fixed ErrorHandling on all fun…
Browse files Browse the repository at this point in the history
…ctions
  • Loading branch information
scrthq committed Feb 20, 2018
1 parent cb36705 commit 02f0972
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/psake.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ Task Build -Depends Test {
if ($ENV:BHBuildSystem -eq 'AppVeyor' -and $env:BHCommitMessage -match '!deploy' -and $env:BHBranchName -eq "master") {
# Load the module, read the exported functions, update the psd1 FunctionsToExport
Set-ModuleFunctions @Verbose
$commitVer = ($env:BHCommitMessage | Select-String -Pattern '\sv\d\.\d\.\d\s').Matches.Value.Trim().Replace('v','')
$commParsed = $env:BHCommitMessage | Select-String -Pattern '\sv\d\.\d\.\d\s'
if ($commParsed) {
$commitVer = ($env:BHCommitMessage | Select-String -Pattern '\sv\d\.\d\.\d\s').Matches.Value.Trim().Replace('v','')
}
$curVer = (Get-Module $env:BHProjectName).Version
$nextGalVer = Get-NextNugetPackageVersion -Name $env:BHProjectName -PackageSourceUrl 'https://www.powershellgallery.com/api/v2/'

Expand Down

0 comments on commit 02f0972

Please sign in to comment.