Skip to content

Commit

Permalink
fix: use "win32" as platform name for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Jul 6, 2020
1 parent c51e467 commit a8d99a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions prepare/lib/required-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ function requiredAssets(release) {
return [
{ platform: "linux--ia32", assetName: `chisel_${version}_linux_386.gz` },
{ platform: "linux--x64", assetName: `chisel_${version}_linux_amd64.gz` },
{ platform: "win--ia32", assetName: `chisel_${version}_windows_386.gz` },
{ platform: "win--x64", assetName: `chisel_${version}_windows_amd64.gz` },
{ platform: "win32--ia32", assetName: `chisel_${version}_windows_386.gz` },
{ platform: "win32--x64", assetName: `chisel_${version}_windows_amd64.gz` },
{ platform: "darwin--ia32", assetName: `chisel_${version}_darwin_386.gz` },
{ platform: "darwin--x64", assetName: `chisel_${version}_darwin_amd64.gz` },
];
Expand Down
4 changes: 2 additions & 2 deletions test/utils/chisel-fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ function getChisel_1_5_2_executable() {
"https://github.com/jpillora/chisel/releases/download/v1.5.2/chisel_1.5.2_darwin_386.gz",
"darwin--x64":
"https://github.com/jpillora/chisel/releases/download/v1.5.2/chisel_1.5.2_darwin_amd64.gz",
"windows-ia32":
"win32-ia32":
"https://github.com/jpillora/chisel/releases/download/v1.5.2/chisel_1.5.2_windows_386.gz",
"windows-x64":
"win32-x64":
"https://github.com/jpillora/chisel/releases/download/v1.5.2/chisel_1.5.2_windows_amd64.gz",
};

Expand Down

0 comments on commit a8d99a6

Please sign in to comment.