Try to automatically compute release notes
All checks were successful
Unit Testing / test (3.10) (pull_request) Successful in 48s
Unit Testing / test (3.11) (pull_request) Successful in 48s
Unit Testing / test (3.12) (pull_request) Successful in 49s
Unit Testing / test (3.8) (pull_request) Successful in 48s
Unit Testing / test (3.9) (pull_request) Successful in 48s

This commit is contained in:
2026-02-27 16:22:11 +01:00
parent 4e8f42da0a
commit a27aeb47ca

View File

@@ -115,8 +115,11 @@ jobs:
- uses: actions/checkout@v4
- name: get latest version tag and release note
run: |
echo "RELEASE_TAG=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
echo "RELEASE_NOTE='This is a test note.'" >> $GITHUB_ENV
this_tag=$(git describe --abbrev=0 --tags)
prev_tag=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`)
commit_messages==$'Commits since previous release: \n\n'$(git log $this_tag..$prev_tag --pretty=format:"* %s")
echo "RELEASE_TAG=$this_tag" >> $GITHUB_ENV
echo "RELEASE_NOTE=$commit_messages" >> $GITHUB_ENV
- name: Create Release
uses: actions/gitea-release-action@v1
with: