Skip to content

Commit

Permalink
Update nightly-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf authored Dec 21, 2024
1 parent 0dda6f0 commit 1b45efc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
release_id=$(gh release list --json id,tagName --jq '.[] | select(.tagName=="nightly") | .id')
if [ -z "$release_id" ]; then
release_exists=$(gh release list --json tagName --jq '.[] | select(.tagName=="nightly") | .tagName')
if [ -z "$release_exists" ]; then
gh release create nightly \
--prerelease \
--title "Nightly Release" \
Expand Down

0 comments on commit 1b45efc

Please sign in to comment.