From 17c1a9ece5f98836c5bf7d2ae5cfff01cc4646e0 Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Tue, 5 Mar 2024 10:51:10 +0800 Subject: [PATCH] chore: toggle prerelease when setting latest --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54fa059f6..90719b102 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: run: | gh release list --limit 1 --json tagName --jq \ '.[]|to_entries|map("\(.key)=\(.value|tostring)")|.[]' >> $GITHUB_OUTPUT - - run: gh release edit ${{ steps.prerelease.outputs.tagName }} --latest + - run: gh release edit ${{ steps.prerelease.outputs.tagName }} --latest --prerelease=false commit: name: Publish Brew and Scoop