From 6fa5d1db53ea4f2e9b846b13fb641b9130178533 Mon Sep 17 00:00:00 2001 From: Michael Voigt <91879843+mvoigt-sag@users.noreply.github.com> Date: Fri, 6 Jan 2023 15:08:10 +0100 Subject: [PATCH] need to calculate the version number again --- .github/workflows/build-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 24c7c8f2..8c589510 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -56,6 +56,10 @@ jobs: needs: build_upload if: github.ref == 'refs/heads/main' steps: + - name: get versionnumber + run: | + SIMULATOR_VERSION=$(expr ${{ env.BUILD_OFFSET }} + ${GITHUB_RUN_NUMBER}) + echo "RELEASE_VERSION=${SIMULATOR_VERSION}" >> $GITHUB_ENV - name: Create Release uses: actions/create-release@v1.1.4 id: create_release