Skip to content

Commit

Permalink
Merge pull request GitTools#1059 from arturcic/main
Browse files Browse the repository at this point in the history
includePrerelease when checking the range
  • Loading branch information
arturcic authored Mar 3, 2024
2 parents be10729 + c648b5c commit 9398ff4
Show file tree
Hide file tree
Showing 19 changed files with 37 additions and 37 deletions.
4 changes: 2 additions & 2 deletions dist/azure/gitreleasemanager/addasset/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/azure/gitreleasemanager/close/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/azure/gitreleasemanager/create/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/azure/gitreleasemanager/discard/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/azure/gitreleasemanager/open/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/azure/gitreleasemanager/publish/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/azure/gitreleasemanager/setup/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/azure/gitversion/execute/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/azure/gitversion/setup/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/github/gitreleasemanager/addasset/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/github/gitreleasemanager/close/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/github/gitreleasemanager/create/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/github/gitreleasemanager/discard/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/github/gitreleasemanager/open/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/github/gitreleasemanager/publish/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/github/gitreleasemanager/setup/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/github/gitversion/execute/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/github/gitversion/setup/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/core/dotnet-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class DotnetTool implements IDotnetTool {
}
}

if (!this.versionManager.satisfies(version, versionRange)) {
if (!this.versionManager.satisfies(version, versionRange, { includePrerelease: setupSettings.includePrerelease })) {
throw new Error(
`Version spec '${setupSettings.versionSpec}' resolved as '${version}' does not satisfy the range '${versionRange}'.` +
'Check https://raw.githubusercontent.com/GitTools/actions/main/docs/versions.md for more information'
Expand Down

0 comments on commit 9398ff4

Please sign in to comment.