Skip to content

Commit

Permalink
[ci] Improve gh release delete
Browse files Browse the repository at this point in the history
  • Loading branch information
IceflowRE committed Jul 5, 2023
1 parent 3571d91 commit f90aed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ jobs:
Latest development release, ready to install.
This release tag is continuously updated.
run: |
gh release delete nightly -y || true
run: |
output=$(gh release delete nightly -y 2>&1) || [[ "${output}" == "release not found" ]]
gh release create nightly ./archives/* --title "Nightly Release" --notes "${{ env.NOTES }}" --prerelease --target ${{ github.sha }}

0 comments on commit f90aed7

Please sign in to comment.