From bf5a8763da6ca13ad06ea878af8ce0987b1ae6af Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Thu, 11 Aug 2022 16:59:37 +0200 Subject: [PATCH] Only consider minimised `*.min.js` files for the tarball (#3397) This should fix the `release` action that failed the last time. Verified that the result contains `...motoko-release-0.6.30/moc-0.6.30.js` and it looks like a minified `.js` file to me. --- release-files.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-files.nix b/release-files.nix index 3613e5a63f4..6288ccc52ae 100644 --- a/release-files.nix +++ b/release-files.nix @@ -25,7 +25,7 @@ let nixpkgs.runCommandNoCC "${name}-${releaseVersion}.js" { allowedRequisites = []; } '' - cp -v ${derivation}/bin/* $out + cp -v ${derivation}/bin/*.min.js $out ''; release =