From 63ab5a941e6922a85e6e8f375b55d6c6ca5d5f63 Mon Sep 17 00:00:00 2001 From: EstrellaXD Date: Sun, 24 Sep 2023 11:37:22 +0800 Subject: [PATCH] fix: tag message. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eac7c746..4f79c0a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,7 @@ jobs: echo "version=${{ github.event.pull_request.title }}" >> $GITHUB_OUTPUT git config --local user.email git config --local user.name "github-actions" - git tag -a ${{ github.event.pull_request.title }} -m ${{ github.event.pull_request.body }} + git tag ${{ github.event.pull_request.title }} git push origin ${{ github.event.pull_request.title }} elif [[ ${{ github.event_name }} == 'push' && (${{ github.ref }} == *'alpha'* || ${{ github.ref }} == *'beta'*) ]]; then echo "version=${{ github.ref_name }}" >> $GITHUB_OUTPUT