From b68ef994d46c6da9662fca4aa120c421a2e7eb8e Mon Sep 17 00:00:00 2001 From: Nam Nhat Pham Date: Thu, 1 Jun 2023 10:18:54 +0200 Subject: [PATCH] Coe 1026 oee simulators add number to fix the wrong in release version (#92) * COE-1026: add 51 to release_version to compensate for the small number of github runner because of new workflow --------- Co-authored-by: Nam Nhat Pham --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 86033c9e..1fa15897 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,7 +47,7 @@ jobs: id: update-version-number run: | cd repo/simulators - SIMULATOR_VERSION=${GITHUB_RUN_NUMBER} + SIMULATOR_VERSION=$((GITHUB_RUN_NUMBER + 51)) sed -i "s/@project.version@/1.0.${SIMULATOR_VERSION}/g" cumulocity.json echo "release_version=${SIMULATOR_VERSION}" >> $GITHUB_OUTPUT