Build: Remove norelease from forbidden patterns (#26592)

closes #26547
This commit is contained in:
Ryan Ernst 2017-09-11 15:55:02 -07:00 committed by GitHub
parent 9834081254
commit 95d40758c2
1 changed files with 0 additions and 5 deletions

View File

@ -63,11 +63,6 @@ public class ForbiddenPatternsTask extends DefaultTask {
patterns.put('nocommit should be all lowercase or all uppercase', patterns.put('nocommit should be all lowercase or all uppercase',
/((?i)nocommit)(?<!(nocommit|NOCOMMIT))/) /((?i)nocommit)(?<!(nocommit|NOCOMMIT))/)
patterns.put('tab', /\t/) patterns.put('tab', /\t/)
if (System.getProperty('build.snapshot', 'true').equals('false')) {
patterns.put('norelease', /norelease|NORELEASE/)
}
patterns.put('norelease should be all lowercase or all uppercase',
/((?i)norelease)(?<!(norelease|NORELEASE))/)
inputs.property("excludes", filesFilter.excludes) inputs.property("excludes", filesFilter.excludes)