Skip to content

Commit

Permalink
(build) Updated release draft with correct grm executable
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed Dec 19, 2019
1 parent a8ba430 commit efac4dc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/Draft-GithubRelease.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
[switch]$preRelease
)

$gitReleaseManager = Get-Command "gitreleasemanager.exe" -ErrorAction Ignore
$gitReleaseManager = Get-Command "gitreleasemanager.exe" -ErrorAction Ignore | ForEach-Object Source
if (!$gitReleaseManager) {
throw "git release manager executable was not found"
$gitReleaseManager = Get-Command "dotnet-gitreleasemanager" | ForEach-Object Source
if (!gitreleasemanager) {
throw "git release manager executable was not found"
}
}

$cmd = "'$gitReleaseManager' create -c master -m '$version' -n '$version Release' -u '$user' -p '$token'"
Expand Down

0 comments on commit efac4dc

Please sign in to comment.