From e1cede1972f6bd996f9debe5b9d04e331a7ef545 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 22 Jun 2024 09:56:44 +0200 Subject: [PATCH] Publish the plain app version as well --- .github/workflows/build-and-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 735a2c93..6c67ce5a 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -89,6 +89,7 @@ jobs: formatted_app_version="v${app_version}" # Write the metadata to the environment: + echo "APP_VERSION=${app_version}" >> $GITHUB_ENV echo "FORMATTED_APP_VERSION=${formatted_app_version}" >> $GITHUB_ENV echo "BUILD_TIME=${build_time}" >> $GITHUB_ENV echo "BUILD_NUMBER=${build_number}" >> $GITHUB_ENV @@ -140,6 +141,7 @@ jobs: $formatted_app_version = "v${app_version}" # Write the metadata to the environment: + Write-Output "APP_VERSION=${app_version}" >> $env:GITHUB_ENV Write-Output "FORMATTED_APP_VERSION=${formatted_app_version}" >> $env:GITHUB_ENV Write-Output "BUILD_TIME=${build_time}" >> $env:GITHUB_ENV Write-Output "BUILD_NUMBER=${build_number}" >> $env:GITHUB_ENV @@ -382,6 +384,7 @@ jobs: formatted_app_version="v${app_version}" # Write the metadata to the environment: + echo "APP_VERSION=${app_version}" >> $GITHUB_ENV echo "FORMATTED_APP_VERSION=${formatted_app_version}" >> $GITHUB_ENV echo "BUILD_TIME=${build_time}" >> $GITHUB_ENV echo "BUILD_NUMBER=${build_number}" >> $GITHUB_ENV