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

Update: avoid unnecessary checks for environment variables #29

Merged
merged 1 commit into from
Oct 17, 2018

Conversation

not-an-aardvark
Copy link
Member

Currently, eslint-release requires NPM_TOKEN and ESLINT_GITHUB_TOKEN environment variables to be present when generating a release in addition to publishing a release. However, the tokens aren't necessary when generating a release, and requiring them makes it more difficult to test-generate a release locally. With this commit, the tokens are only validated when publishing, not when generating.

Currently, eslint-release requires `NPM_TOKEN` and `ESLINT_GITHUB_TOKEN` environment variables to be present when generating a release in addition to publishing a release. However, the tokens aren't necessary when generating a release, and requiring them makes it more difficult to test-generate a release locally. With this commit, the tokens are only validated when publishing, not when generating.
@not-an-aardvark not-an-aardvark merged commit 34d6f55 into master Oct 17, 2018
@not-an-aardvark not-an-aardvark deleted the avoid-unnecessary-validation branch October 17, 2018 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants