finished test .
All checks were successful
Deploy Release / Build (push) Successful in 7s

This commit is contained in:
amass 2024-07-02 01:19:15 +08:00
parent 17b1b993b7
commit b3fb1a0e39

View File

@ -19,10 +19,10 @@ jobs:
- run: build/Bilby - run: build/Bilby
- name: Generate Changelog - name: Generate Changelog
run: | run: |
set -eux
current_tag=$(git describe --tags --abbrev=0) current_tag=$(git describe --tags --abbrev=0)
previous_tag=$(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1)) previous_tag=$(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1))
echo "Commits from ${previous_tag} to ${current_tag}:" 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 git log ${previous_tag}..${current_tag} --reverse --pretty=format:"%B" | nl -w2 -s". " > ${{ github.workspace }}-CHANGELOG.txt
- name: Upload Gitea Release - name: Upload Gitea Release
uses: akkuman/gitea-release-action@v1 uses: akkuman/gitea-release-action@v1