-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Use regex for branch white-list in yaml #713
Comments
We can re-purpose the fmt.Println(filepath.Match("test-*", "test-a")) // true
fmt.Println(filepath.Match("test-*", "test")) // false
fmt.Println(filepath.Match("test/*", "test/a")) // true |
fix for #713, match branches with wildcard
sorry, re-opening this because I realized I added wildcard capabilities to the deployment / publish section, and not the branches section that you referenced in your original issue description. |
@bradrydzewski Any update on this functionality? |
we have a pretty solid implementation in the 0.4 branch. This needs to be documented, including the new negation syntax we added before closing this issue (reminder to me) |
Hi! I was wondering what happened to this issue... Thanks in advance and thanks for drone! I love it! 👍 Cheers, |
I'm marking this as closed since we now have pattern matching and include and exclude sections. See unit tests for more examples: This is an example of all the different variations:
If anyone wants something more complex than this I am willing to accept pull requests that maintain backward compatibility and include unit tests :) |
Currently the include exclude for branches is an all or nothing scenario.
It would be nice to be able to do something like
The text was updated successfully, but these errors were encountered: