From 1cddc959356ed47bcecd5cf0c46bf1f3fa6c6d25 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Tue, 2 Jul 2024 00:13:27 +0800 Subject: [PATCH] gdfsd fddf gdfg d --- .gitea/workflows/release.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 4c96ec8..e85f8c2 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -26,12 +26,10 @@ jobs: - run: cmake -S . -B build - run: cmake --build build --target all - run: build/Bilby - - name: Generate Changelog - run: | - current_tag=$(git describe --tags --abbrev=0) - previous_tag=$(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1)) - git log ${previous_tag}..${current_tag} --reverse --pretty=format:"%s" | nl -w2 -s". " > CHANGELOG.txt - cat CHANGELOG.txt + - run: current_tag=$(git describe --tags --abbrev=0) + - run: previous_tag=$(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1)) + - run: git log ${previous_tag}..${current_tag} --reverse --pretty=format:"%s" | nl -w2 -s". " > CHANGELOG.txt + - run: cat CHANGELOG.txt - name: Upload Gitea Release uses: akkuman/gitea-release-action@v1 with: