Skip to content

Commit

Permalink
Fix binary mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
gschier committed Sep 9, 2024
1 parent f91d090 commit aac631d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions npm/prepare-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const {copyFileSync, readFileSync, writeFileSync} = require("node:fs");
const {join} = require("node:path");

console.log("Copying binary files to packages")
copyFileSync(join(__dirname, '../dist/cli_darwin_amd64_v1/yaakcli'), join(__dirname, 'cli-darwin-arm64/bin/yaakcli'));
copyFileSync(join(__dirname, '../dist/cli_darwin_arm64/yaakcli'), join(__dirname, 'cli-darwin-x64/bin/yaakcli'));
copyFileSync(join(__dirname, '../dist/cli_darwin_arm64/yaakcli'), join(__dirname, 'cli-darwin-arm64/bin/yaakcli'));
copyFileSync(join(__dirname, '../dist/cli_darwin_amd64_v1/yaakcli'), join(__dirname, 'cli-darwin-x64/bin/yaakcli'));
copyFileSync(join(__dirname, '../dist/cli_linux_amd64_v1/yaakcli'), join(__dirname, 'cli-linux-x64/bin/yaakcli'));
copyFileSync(join(__dirname, '../dist/cli_windows_amd64_v1/yaakcli.exe'), join(__dirname, 'cli-win32-x64/bin/yaakcli.exe'));

Expand Down

0 comments on commit aac631d

Please sign in to comment.