From 074113f748e1fcf5a3b838936e8f16d707b26e0e Mon Sep 17 00:00:00 2001 From: Nikita Kobzev Date: Fri, 15 Oct 2021 19:18:42 +0300 Subject: [PATCH] Fixed installer version set incorrectly for tags --- .github/workflows/artifcats.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/artifcats.yaml b/.github/workflows/artifcats.yaml index 44e2a3a..24fbb7b 100644 --- a/.github/workflows/artifcats.yaml +++ b/.github/workflows/artifcats.yaml @@ -24,7 +24,7 @@ jobs: run: | echo "pbom_version=$('${{github.ref}}' -replace 'refs/tags/v','')" >> $env:GITHUB_ENV echo "pbom_build_number=${{github.run_number}} (${{env.git_sha}})" >> $env:GITHUB_ENV - echo "pbom_installer_version=${{env.pbom_version}}" >> $env:GITHUB_ENV + echo "pbom_installer_version=$('${{github.ref}}' -replace 'refs/tags/v','')" >> $env:GITHUB_ENV - name: Set Version Information - Branch if: ${{startsWith(github.ref, 'refs/heads/')}}