From e3316cd4cb55eed3663b6adbcc7618df2bfb84c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Sun, 4 Aug 2024 12:00:25 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f339c933a..acfcc8b79 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,13 +29,13 @@ jobs: # 如果没有倒数第二个标签,则输出为空字符串 if [[ -z "$SECOND_LATEST_TAG" ]]; then - echo "::set-output name=tag::" + echo "::set-output name=tag_cmd::" else - echo "::set-output name=tag::$SECOND_LATEST_TAG" + echo "::set-output name=tag_cmd::-S $SECOND_LATEST_TAG" fi - name: Generate Release Notes - run: ./bin/genlog.sh -m tag -f -S ${{ steps.second_tag.outputs.tag }} -v ${{ steps.last_tag.outputs.tag }} + run: ./bin/genlog.sh -m tag -f ${{ steps.second_tag.outputs.tag_cmd }} -v ${{ steps.last_tag.outputs.tag }} - name: Create Release id: create_release