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

Must provide GITHUB_AUTH #130

Closed
Enngage opened this issue Feb 5, 2019 · 8 comments
Closed

Must provide GITHUB_AUTH #130

Enngage opened this issue Feb 5, 2019 · 8 comments

Comments

@Enngage
Copy link

Enngage commented Feb 5, 2019

Hi,

Could anyone let me know how can I configure GITHUB_AUTH token? I've been trying various ways, but with no luck.

@Turbo87
Copy link
Contributor

Turbo87 commented Feb 5, 2019

I'm assuming you saw https://github.com/lerna/lerna-changelog#github-token? What specific step did not work for you?

@Enngage
Copy link
Author

Enngage commented Feb 5, 2019

Thank you for getting back this quickly. Yeah, the thing is I'm not sure where should I place the:

export GITHUB_AUTH="..."

Should I create new file somewhere?

@Turbo87
Copy link
Contributor

Turbo87 commented Feb 5, 2019

ah, I see. GITHUB_AUTH is an "environment variable". you can find more information on those at e.g. https://en.wikipedia.org/wiki/Environment_variable. how exactly this should be used depends on your operating system. what do you use?

@Enngage
Copy link
Author

Enngage commented Feb 5, 2019

Oh, I'm on Win 10. I'm executing the script via node.js command prompt, so that means I have to add the environmental variable to it? Sorry, I haven't really used this before so I'm a bit newb regarding this.

@Turbo87
Copy link
Contributor

Turbo87 commented Feb 5, 2019

yeah, exactly. I'm not sure how env vars on Win10 are set, unfortunately, but I'm sure a quick internet search will reveal an answer :)

@Enngage
Copy link
Author

Enngage commented Feb 5, 2019

Okey, sounds good. I'll do some googling about that. Thanks for pointing me in the right direction!

@Enngage Enngage closed this as completed Feb 5, 2019
@Enngage
Copy link
Author

Enngage commented Feb 5, 2019

I was able to make it work, though I have one off topic question (that I dont think its worth new issue). When ran lerna-changelog, it didn't create changelog.md file even though it listed my PR correctly. I can copy & paste the result fine, but I was just wondering if this was expected or not.

@Turbo87
Copy link
Contributor

Turbo87 commented Feb 5, 2019

yes, that is the expected behavior currently. it will only output the changelog for the latest release by default, but not for all of the releases, unless you use --to and --from.

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

No branches or pull requests

2 participants