-
Notifications
You must be signed in to change notification settings - Fork 44
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
Default branch main instead of master #32
Comments
There are quite a few legacy projects which use |
Hey, I think cargo-workspaces should allow both |
I use https://docs.rs/glob/0.3.0/glob/struct.Pattern.html to match the branch name with a pattern. Unfortunately it doesn't seem like it's possible to provide https://github.com/pksunkara/cargo-workspaces/blob/master/cargo-workspaces/src/utils/git.rs#L96 |
I think the simplest solution would be to change |
5fa9ae5 should work if anyone wants to test. |
On a freshly created project from github I ran the version command and got
error: not allowed to run on branch main because it doesn't match pattern master
. Since it will be the default from now on couldmain
be the default instead ofmaster
or have both as allowed branches?The text was updated successfully, but these errors were encountered: