#2648 - fixed error whereby VERSION variable isn't set before setting the dev build version in the VERSION file
This commit is contained in:
@@ -24,6 +24,7 @@ steps:
|
|||||||
persistCredentials: true
|
persistCredentials: true
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
VERSION=$(cat src/primaite/VERSION | tr -d '\n')
|
||||||
if [[ "$(Build.SourceBranch)" == "refs/heads/feature/2648_Automate-the-benchmarking-process" ]]; then
|
if [[ "$(Build.SourceBranch)" == "refs/heads/feature/2648_Automate-the-benchmarking-process" ]]; then
|
||||||
DATE=$(date +%Y%m%d%H%M)
|
DATE=$(date +%Y%m%d%H%M)
|
||||||
echo "${VERSION}+dev.${DATE}" > src/primaite/VERSION
|
echo "${VERSION}+dev.${DATE}" > src/primaite/VERSION
|
||||||
|
|||||||
Reference in New Issue
Block a user