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

integrate directly with the same tool semantic release uses #42

Open
thatkookooguy opened this issue Jul 16, 2019 · 0 comments
Open

integrate directly with the same tool semantic release uses #42

thatkookooguy opened this issue Jul 16, 2019 · 0 comments
Labels

Comments

@thatkookooguy
Copy link
Member

if the branch is not passed through an environment variable or the command line parameters,
use env-ci to get the branch from knowns CIs.

Reference

if no branch was passed, and isCi and branch exists, use that.

as a CLI tool

  1. console.log to notify the user like semantic-release does
  2. select the branch automatically

as a library

  1. add a function to get the branch internally (through env-ci) so the users can composition the functions to get the same result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant