correct changelog output.
All checks were successful
Deploy Applications / PullDocker (push) Successful in 7s
Deploy Applications / Build (push) Successful in 5s

This commit is contained in:
amass 2024-07-02 00:03:30 +08:00
parent f822014d9a
commit 58e3b0bfda

View File

@ -29,7 +29,7 @@ jobs:
- name: Generate Changelog
run: |
current_tag=$(git describe --tags --abbrev=0)
previous_tag=$(git describe --tags --abbrev=0 ${current_tag}^)
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". " > ${{ github.workspace }}-CHANGELOG.txt
- name: Upload Gitea Release
uses: akkuman/gitea-release-action@v1