stop 16.1 releases triggering 14.2 builds

This commit is contained in:
Ralf Becker 2016-11-07 14:52:37 +01:00
parent baaa8a0faf
commit 004aca1391

View File

@ -755,7 +755,7 @@ function do_obs($only_update_changelog=false)
if (basename(dirname($path)) == '.osc' || if (basename(dirname($path)) == '.osc' ||
!preg_match('/\/('.preg_quote($config['packagename']). !preg_match('/\/('.preg_quote($config['packagename']).
($config['obs_package_alias'] ? '|'.preg_quote($config['obs_package_alias']) : ''). ($config['obs_package_alias'] ? '|'.preg_quote($config['obs_package_alias']) : '').
')[a-z-]*-('.preg_quote($config['version']).'|14.2|trunk)/',$path)) ')[a-z-]*-('.preg_quote($config['version']).'|trunk)/',$path))
{ {
continue; continue;
} }