![Downloads](https://img.shields.io/npm/dm/clean-release.svg)
clean-release
A CLI tool to copy files to be released into a tmp clean directory for npm publishing, electronjs packaging, docker image creation, or deployment
install
npm i clean-release -g
usage
run clean-release
or clean-release --config clean-release.config.js
config
key | type | description |
---|
include | string[] | the files included, support glob |
exclude | string[]? | the files excluded, support glob |
postScript | string? | used to publish to npm, eg: npm publish [dir] --access public |
releaseRepository | string? | used to publish to a git release repository, eg: https://github.com/plantain-00/baogame-release.git |
releaseBranchName | string? | the branch name of the release repository |