Fix pipeline dep again

This commit is contained in:
Michael Barz
2020-09-23 23:20:51 +02:00
parent 0fcb50a02e
commit df9d353e8a

View File

@@ -641,10 +641,9 @@ def binary(ctx, name):
}
def releaseSubmodule(ctx):
depends = []
if len(ctx.build.ref.replace("refs/tags/", "").split("/")) == 2:
depends = ['linting&unitTests-%s' % (ctx.build.ref.replace("refs/tags/", "").split("/")[0])]
else:
depends = []
return {
'kind': 'pipeline',