From 112f116a89a208b88502ef63302d828cdede33b5 Mon Sep 17 00:00:00 2001 From: Chris McCarthy Date: Wed, 26 Jun 2024 09:46:05 +0100 Subject: [PATCH] #2648 - fixed error whereby VERSION variable isn't set before setting the dev build version in the VERSION file --- .azure/azure-benchmark-pipeline.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure/azure-benchmark-pipeline.yaml b/.azure/azure-benchmark-pipeline.yaml index 1ad28197..06ef72a4 100644 --- a/.azure/azure-benchmark-pipeline.yaml +++ b/.azure/azure-benchmark-pipeline.yaml @@ -24,6 +24,7 @@ steps: persistCredentials: true - script: | + VERSION=$(cat src/primaite/VERSION | tr -d '\n') if [[ "$(Build.SourceBranch)" == "refs/heads/feature/2648_Automate-the-benchmarking-process" ]]; then DATE=$(date +%Y%m%d%H%M) echo "${VERSION}+dev.${DATE}" > src/primaite/VERSION