From fc1acafe50d0bab417bf93b0aa3912600712daba Mon Sep 17 00:00:00 2001 From: Lauri Nevala Date: Wed, 10 Jun 2020 12:00:30 +0300 Subject: [PATCH] Run Build step only on tag on Linux Signed-off-by: Lauri Nevala --- .azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 25cb47e11f..eb6f44263b 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -146,6 +146,7 @@ jobs: SNAP_LOGIN: $(SNAP_LOGIN) - script: make build displayName: Build + condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))" env: GH_TOKEN: $(GH_TOKEN) - bash: |