correct changelog output.
This commit is contained in:
parent
f822014d9a
commit
58e3b0bfda
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user