github-release-notes
github-release-notes copied to clipboard
Error when running gren init
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?
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.
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.
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
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.