We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 329eaae + 6c34a8f commit a73c7e3Copy full SHA for a73c7e3
buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/ForbiddenPatternsTask.groovy
@@ -61,6 +61,9 @@ public class ForbiddenPatternsTask extends DefaultTask {
61
// add mandatory rules
62
patterns.put('nocommit', /nocommit/)
63
patterns.put('tab', /\t/)
64
+ if (System.getProperty('build.snapshot', 'true').equals('false')) {
65
+ patterns.put('norelease', /norelease/)
66
+ }
67
68
inputs.property("excludes", filesFilter.excludes)
69
inputs.property("rules", patterns)
0 commit comments