From 907e982ecb1dc99287e274046ff0feadb6a2782f Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Tue, 25 Aug 2020 20:13:17 +0200 Subject: [PATCH] Only set tag for releases --- .ci/azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index 9110e99e..0c14cb9d 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -42,6 +42,7 @@ jobs: steps: - script: 'echo "##vso[task.setvariable variable=JELLYFIN_VERSION]$(git describe --tags)"' + condition: startsWith(variables['Build.SourceBranch'], 'refs/tags') displayName: 'Set Version Variable' - task: Gradle@2