[v8.3.x] Build: Correct syntax for directing release builds (#42942)

* Build: don't run release builds on grafana/grafana repo (#42785)

(cherry picked from commit b6818718e9)

* Build: Correct syntax for directing release builds (#42789)

(cherry picked from commit 6a5416bcec)

Co-authored-by: malcolmholmes <42545407+malcolmholmes@users.noreply.github.com>
This commit is contained in:
Marcus Andersson
2021-12-09 16:17:03 +00:00
committed by GitHub
co-authored by malcolmholmes
parent 6828df7a93
commit 4b9a0370d6
2 changed files with 16 additions and 1 deletions
+3
View File
@@ -240,6 +240,9 @@ def release_pipelines(ver_mode='release', trigger=None):
if not trigger:
trigger = {
'ref': ['refs/tags/v*',],
'repo': {
'exclude': ['grafana/grafana'],
},
}
should_publish = ver_mode in ('release', 'test-release',)