Skip to content

Commit

Permalink
Change next version detection to use Get-NextNugetPackageVersion [ski…
Browse files Browse the repository at this point in the history
…p ci]
  • Loading branch information
RamblingCookieMonster authored Sep 22, 2018
1 parent e9402dc commit ed45bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psake.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Task Build -Depends Test {
# Bump the module version if we didn't already
Try
{
[version]$GalleryVersion = Get-NextPSGalleryVersion -Name $env:BHProjectName -ErrorAction Stop
[version]$GalleryVersion = Get-NextNugetPackageVersion -Name $env:BHProjectName -ErrorAction Stop
[version]$GithubVersion = Get-MetaData -Path $env:BHPSModuleManifest -PropertyName ModuleVersion -ErrorAction Stop
if($GalleryVersion -ge $GithubVersion) {
Update-Metadata -Path $env:BHPSModuleManifest -PropertyName ModuleVersion -Value $GalleryVersion -ErrorAction stop
Expand Down

0 comments on commit ed45bd2

Please sign in to comment.