diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 01782d4..2618850 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -113,7 +113,7 @@ jobs: - name: Set version and tag shell: pwsh run: | - "BUILD_VERSION=1.0.{0}" -f (git rev-list --count $env:GITHUB_REF) >> $env:GITHUB_ENV + "BUILD_VERSION=1.1.{0}" -f (git rev-list --count $env:GITHUB_REF) >> $env:GITHUB_ENV "BUILD_VERSION_SHA={0}" -f (git log --pretty=format:'%h' -n 1 $env:GITHUB_REF) >> $env:GITHUB_ENV "${{ env.BUILD_VERSION }}" > hst-imager.release-tag.txt "hst-imager_v${{ env.BUILD_VERSION }}-${{ env.BUILD_VERSION_SHA }}" > hst-imager.release-version.txt