Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Based on a recent change in Octokits docs[1], in order for it to use a configured proxy you must pass another request.agent into the Octokit constructor. This change adds the `proxy-agent` lib as suggested by Octokits docs. Note that with this implmentation, the `http_proxy` or `https_proxy` environment variables alone will NOT work. Instead one must explicitly set the value in the `github.proxy` option passed to release-it. This is to stay inline with current behavior[2]. [1] octokit/octokit.js@2090c85 [2] https://github.com/release-it/release-it/blob/14.14.2/docs/github-releases.md#proxy
- Loading branch information
Showing
3 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters