try fixing git could not describe commits
All checks were successful
Unit Testing / test (3.10) (pull_request) Successful in 49s
Unit Testing / test (3.11) (pull_request) Successful in 49s
Unit Testing / test (3.12) (pull_request) Successful in 49s
Unit Testing / test (3.8) (pull_request) Successful in 50s
Unit Testing / test (3.9) (pull_request) Successful in 49s

This commit is contained in:
2026-02-27 16:47:29 +01:00
parent 2b32788bda
commit 6a06e7afe7

View File

@@ -118,6 +118,7 @@ jobs:
- uses: actions/checkout@v4
- name: get latest version tag and release note
run: |
git fetch --depth=500
this_tag=$(python -c "import eos;print('v'+eos.__version__)")
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 $prev_tag..HEAD --pretty=format:"* %s")
@@ -126,6 +127,7 @@ jobs:
- name: Create Release
uses: actions/gitea-release-action@v1
with:
name: "Amor-Eos ${{ env.RELEASE_TAG }}"
tag_name: ${{ env.RELEASE_TAG }}
prerelease: true
body: ${{ env.RELEASE_NOTE }}