File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ function chooseAsset(release: GitHubRelease): GitHubAsset | null {
57
57
name . includes ( "win32" ) ;
58
58
} else if ( process . platform === "darwin" ) {
59
59
if ( arch === "x64" ) {
60
- if ( release . tag_name >= "v1.0.5" ) {
60
+ if ( semver . gte ( release . tag_name , "v1.0.5" ) ) {
61
61
platformMatcher = name => name . includes ( "macos-x86_64" ) ;
62
62
} else {
63
63
platformMatcher = name => name . includes ( "macos" ) ;
@@ -67,7 +67,7 @@ function chooseAsset(release: GitHubRelease): GitHubAsset | null {
67
67
}
68
68
} else if ( process . platform === "linux" ) {
69
69
if ( arch === "x64" ) {
70
- if ( release . tag_name >= "v1.6.4" ) {
70
+ if ( semver . gte ( release . tag_name , "v1.6.4" ) ) {
71
71
platformMatcher = name => name . includes ( "linux-x86_64" ) ;
72
72
} else {
73
73
platformMatcher = name => name . includes ( "linux" ) ;
You can’t perform that action at this time.
0 commit comments