Skip to content

Commit

Permalink
Update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikstengaard committed Sep 28, 2022
1 parent adb9078 commit e41b2ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
run: |
"BUILD_VERSION=0.9.{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
- name: Show version
- name: Write version and tag
shell: pwsh
run: |
"BUILD_VERSION: ${{ env.BUILD_VERSION }}"
"BUILD_VERSION_SHA: ${{ env.BUILD_VERSION_SHA }}"
"${{ env.BUILD_VERSION }}" > hst-imager.release-tag.txt
"hst-imager_v${{ env.BUILD_VERSION }}-${{ env.BUILD_VERSION_SHA }}" > hst-imager.release-version.txt
- name: Upload release tag artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit e41b2ea

Please sign in to comment.