Skip to content

Commit

Permalink
Only consider minimised *.min.js files for the tarball (#3397)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ggreif authored Aug 11, 2022
1 parent c8d2787 commit bf5a876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release-files.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let
nixpkgs.runCommandNoCC "${name}-${releaseVersion}.js" {
allowedRequisites = [];
} ''
cp -v ${derivation}/bin/* $out
cp -v ${derivation}/bin/*.min.js $out
'';

release =
Expand Down

0 comments on commit bf5a876

Please sign in to comment.