From b3fb1a0e39db45292cb01ba0dcff00b3bd97a90f Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Tue, 2 Jul 2024 01:19:15 +0800 Subject: [PATCH] finished test . --- .gitea/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 2091f1c..a28e3a9 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -19,10 +19,10 @@ jobs: - run: build/Bilby - name: Generate Changelog run: | - set -eux current_tag=$(git describe --tags --abbrev=0) previous_tag=$(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1)) echo "Commits from ${previous_tag} to ${current_tag}:" + git log ${previous_tag}..${current_tag} --reverse --pretty=format:"%B" | nl -w2 -s". " git log ${previous_tag}..${current_tag} --reverse --pretty=format:"%B" | nl -w2 -s". " > ${{ github.workspace }}-CHANGELOG.txt - name: Upload Gitea Release uses: akkuman/gitea-release-action@v1