Update .github/workflows/release-cli.yml

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2024-08-12 19:26:43 +10:00 committed by GitHub
parent 03d3166174
commit 617d723302
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,7 +122,7 @@ jobs:
- if: fromJSON(inputs.info).is-release == 'true'
name: Make release latest
run: gh release edit v${{ fromJSON(inputs.info).version }} --latest
run: gh release edit v${{ fromJSON(inputs.info).version }} --latest --draft=false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}