Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support publishing a subfolder #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mzabriskie
Copy link

The primary motivation for supporting this is to allow libraries to publish an alternate subfolder. Specifically this is useful in cases where lib/ contains ES6 syntax, or JSX, and the build process transpiles the source to a build/ folder. In this case the subfolder ./builld/ would need to be published, not ./ as is the default.

I've also added support for command arguments so that user need not be prompted. For example if I always publish ./build/ folder, I can just use: ./node_modules/.bin/release -f ./build/. Then I will be prompted for the version, but not the folder.

@mzabriskie
Copy link
Author

@ryanflorence what are your thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant