minor + help
Some checks failed
Unit Testing / test (3.8) (pull_request) Has been cancelled
Unit Testing / test (3.9) (pull_request) Has been cancelled
Unit Testing / test (3.12) (pull_request) Has been cancelled
Unit Testing / test (3.10) (pull_request) Has been cancelled
Unit Testing / test (3.11) (pull_request) Has been cancelled
Some checks failed
Unit Testing / test (3.8) (pull_request) Has been cancelled
Unit Testing / test (3.9) (pull_request) Has been cancelled
Unit Testing / test (3.12) (pull_request) Has been cancelled
Unit Testing / test (3.10) (pull_request) Has been cancelled
Unit Testing / test (3.11) (pull_request) Has been cancelled
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -79,6 +79,7 @@ jobs:
|
||||
if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all_incl_release"]'), github.event.inputs.build-items)) }}
|
||||
uses: actions/gitea-release-action@v1
|
||||
with:
|
||||
name: "Amor-Eos ${{ env.RELEASE_TAG }}"
|
||||
tag_name: ${{ env.RELEASE_TAG }}
|
||||
files: |-
|
||||
dist/amor*.tar.gz
|
||||
@@ -122,7 +123,7 @@ jobs:
|
||||
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`)
|
||||
echo "Relese tag $this_tag with changes since $prev_tag"
|
||||
commit_messages=$'Commits since previous release: \n\n'$(git log $prev_tag..HEAD --pretty=format:"* %s")
|
||||
commit_messages=$(git log $prev_tag..HEAD --pretty=format:"* %s")
|
||||
echo "Commit messages: $commit_messages"
|
||||
echo "RELEASE_TAG=$this_tag" >> $GITHUB_ENV
|
||||
echo "RELEASE_NOTE=$commit_messages" >> $GITHUB_ENV
|
||||
@@ -131,5 +132,4 @@ jobs:
|
||||
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