Skip to content

Commit

Permalink
Move the pc-contracts-cli binary to zip root
Browse files Browse the repository at this point in the history
For the release bundle the binary needs to be at the root
  • Loading branch information
gilligan committed Oct 17, 2024
1 parent e2ca4fc commit ce43d63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ rec {
pc-contracts-release-bundle = pkgs.runCommand "bundled-cli" { buildInputs = [ pkgs.zip ]; } ''
cp -r ${pc-contracts-cli}/* ./
mkdir -p $out
zip -r $out/release.zip ./{package.json,node_modules,dist,README.md}
zip -r $out/release.zip ./package.json ./node_modules README.md
zip -j $out/release.zip ./dist/pc-contracts-cli
'';
kupo = pkgs.callPackage ./kupo.nix { };
ogmios = pkgs.callPackage ./ogmios.nix { };
Expand Down

0 comments on commit ce43d63

Please sign in to comment.