Skip to content

Commit

Permalink
Update build script to output release information
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hofmann <[email protected]>
  • Loading branch information
hoffe86 committed Feb 25, 2024
1 parent 0d3c646 commit da354e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/openhab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
shell: pwsh
run: |
$CURRENTDATE = Get-Date -Format "yyyy.MM.dd"
Write-Host "BUILD_NUMBER=${CURRENTDATE}" >> $env:GITHUB_ENV
Write-Host "BUILD_NUMBER=${CURRENTDATE}" >> $env:GITHUB_OUTPUT
$IS_BETA_RELEASE = ${{ inputs.IsBetaRelease }}
if ($IS_BETA_RELEASE -eq 'true') {
Write-Host "RELEASE_NAME=Beta:${CURRENTDATE}.${{github.run_number}}" >> $env:GITHUB_ENV
Write-Host "RELEASE_NAME=Beta:${CURRENTDATE}.${{github.run_number}}" >> $env:GITHUB_OUTPUT
} else {
Write-Host "RELEASE_NAME=${CURRENTDATE}" >> $env:GITHUB_ENV
Write-Host "RELEASE_NAME=${CURRENTDATE}" >> $env:GITHUB_OUTPUT
}
build:
Expand Down

0 comments on commit da354e2

Please sign in to comment.