-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix(release): update regex for remote URL #23186
base: master
Are you sure you want to change the base?
Conversation
Updates remote URL regex to match on GitHub, GitHub Enterprise, and local git repositories. Closes nrwl#23178 Closes nrwl#21906
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@JamesHenry We need this in our organization as we use github enterprise. What can we do to move this pr forward? |
@andrewlewis426 You could please apply this change as a patch to your node_modules (eg. via https://www.npmjs.com/package/patch-package or via pnpm patches if you use pnpm) and verify that it is all that is needed for holistic support of github enterprise |
@pcopley @JamesHenry Thanks for the great work put in. Nevertheless, as we experienced some issues trying to use nx release with GES i don't think this PR could close #21906 by itself. This is a list of the issues we've been through:
We're not using github CLI but there might be some issues with the method resolveGithubToken too, not sure about that. After patching thoses issues locally, it's working great. @JamesHenry I'am not sure if it should be treated separately but i could open another issue and i'am willing to submit a PR if necessary. Again, thanks for the great work tho, awesome tool. |
Updates remote URL regex to match on GitHub, GitHub Enterprise, and local git repositories.
Current Behavior
Currently the regular expression will only match URLs beginning with
github.com
Expected Behavior
It should also match GitHub Enterprise as well as local git repositories
Related Issue(s)
Fixes #23178
Closes #21906