Skip to content

Commit

Permalink
Fix version naming build-and-package-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Freezor authored Jun 11, 2024
1 parent 233715a commit cf76dd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
id: inferVersion
working-directory: src
run: |
$ref = '${{ github.ref }}'
$version = $ref -replace 'refs/tags/', ''
$version = .\BuildVersionNumber.ps1 -suffix alpha
Write-Host "Inferred version: $version"
echo "::set-output name=version::$version"
shell: pwsh
Expand Down

0 comments on commit cf76dd0

Please sign in to comment.