release-it: Releasing gitignored dist?

Is there a way to attach build output to the GH release as a ZIP automatically, like npm pack?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15

Most upvoted comments

Is githubAssets still supported? I am not seeing it in the docs or code.

Using an array for githubAssets seems to behave a bit funky with a single element. It is turned into a braced section ({*.tgz} in this case) before passed to node-glob (as this doesn’t support an array of glob patterns).

For a single item it’s best to use a string for now: "githubAssets": "*.tgz".