github-release-notes icon indicating copy to clipboard operation
github-release-notes copied to clipboard

Error when running gren init

Open sigiesec opened this issue 5 years ago • 4 comments

When I run gren init, I get the following message:

$ gren init
You have to run this command in a git repo folder

However, this is a git repo folder, i.e. it has a .git subdirectory.

Unfortunately, there is no further information what might be wrong. Any suggestions?

sigiesec avatar Aug 15 '18 16:08 sigiesec

Hello @sigiesec,

You should be running it in the root of the project (same folder where .git is) - a.k.a. where you can run git commands.

alexcanessa avatar Aug 16 '18 09:08 alexcanessa

That's what I did.

Interestingly, after I created the .grenrc.yml file manually, gren release worked. It just outputs a warning "WARNING: Looks like you don't have network connectivity!", but this cannot be true, since it correctly posted the release notes to GitHub.

sigiesec avatar Aug 16 '18 09:08 sigiesec

Interesting 🤔

FYI the warning detects when you might have a problem with connectivity via checking your connection (hence it's a warning and not an error).

For more information, we're using this package

alexcanessa avatar Aug 16 '18 09:08 alexcanessa

Ok, connectivity does not seem to use the proxy settings (http_proxy, https_proxy, no_proxy environment variables) in the same way as git does.

sigiesec avatar Aug 16 '18 10:08 sigiesec