Add commit messages written to file first
All checks were successful
Unit Testing / test (3.10) (pull_request) Successful in 51s
Unit Testing / test (3.11) (pull_request) Successful in 49s
Unit Testing / test (3.8) (pull_request) Successful in 50s
Unit Testing / test (3.12) (pull_request) Successful in 53s
Unit Testing / test (3.9) (pull_request) Successful in 52s

This commit is contained in:
2026-03-02 11:44:07 +01:00
parent 7f4f53e8e8
commit 4abe08caa2
2 changed files with 8 additions and 5 deletions

View File

@@ -61,16 +61,17 @@ 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=$(git log $prev_tag..HEAD --pretty=format:"* %s")
echo "Commit messages: $commit_messages"
echo "Changes:
" > git_changes.log
git log $prev_tag..HEAD --pretty=format:"* %s" >> git_changes.log
cat git_changes.log
echo "RELEASE_TAG=$this_tag" >> $GITHUB_ENV
echo "RELEASE_NOTE=$commit_messages" >> $GITHUB_ENV
- name: Create Release
uses: actions/gitea-release-action@v1
with:
name: "Amor-Eos ${{ env.RELEASE_TAG }}"
tag_name: "${{ env.RELEASE_TAG }}"
#body: ${{ env.RELEASE_NOTE }}
body_path: git_changes.log
build-ubuntu-latest:
needs: [test]
@@ -130,5 +131,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: |-
# eos.zip

View File

@@ -2,5 +2,5 @@
Package to handle data redction at AMOR instrument to be used by __main__.py script.
"""
__version__ = '3.2.3-1'
__version__ = '3.2.3-2'
__date__ = '2026-02-27'