From 96ff502c893800b7a45e76cfcde17ea0bfc25764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=94=E6=99=A8=E7=9A=93=28=E9=B8=A5=E5=BC=8B=29=28OhYe?= =?UTF-8?q?e=29?= Date: Mon, 30 Oct 2023 09:42:40 +0800 Subject: [PATCH] fix release --- .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 053a8eb..683bf64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: release_body: ${{ github.event.release.body }} release_name: ${{ github.event.release.name }} run: | - if [[ -e "${release_body}" ]]; then + if [[ ! -n "${release_body}" ]]; then TAG=$(git describe --tags --always | sed 's/^v//') echo "release ${TAG}"