Add support for tags.

This commit is contained in:
Tom Alexander
2024-09-29 00:06:46 -04:00
parent 1efd7b1d73
commit a2aca6d2f1
6 changed files with 205 additions and 42 deletions

View File

@@ -62,7 +62,7 @@ impl RemoteConfig {
.iter()
.map(|s| Regex::new(s.as_str()))
.collect::<Result<_, _>>()?;
if !push.branches.is_empty() && !match_regex.iter().any(|r| r.is_match(branch)) {
if !push.branches.is_empty() && match_regex.iter().any(|r| r.is_match(branch)) {
continue;
}