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
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:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user