Skip to content

Commit 6c9439c

Browse files
PasteurBotdionhaefner
andauthored
chore: release v0.9.1 (#201)
This PR contains the generated changelog for the release v0.9.1. ⚠️ **Merging this PR will immediately trigger a new release**. ⚠️ To specify additional release notes, please edit this comment after the following line. --- This release brings several improvements and bug fixes that make it easier to work with Tesseracts. The `tesseract` CLI now supports additional configuration: - Config for the used Docker executables via `TESSERACT_DOCKER_EXECUTABLE`, `TESSERACT_DOCKER_COMPOSE_EXECUTABLE`, and `TESSERACT_DOCKER_BUILD_ARGS` environment variables. - Config for serving Tesseracts without Docker Compose via `tesseract serve --no-compose`. - Config for the network interfaces to bind to via `tesseract serve --host-ip`. This makes Tesseract more versatile to use, particularly in HPC and root-less environments. --------- Co-authored-by: Dion Häfner <dion.haefner@simulation.science>
1 parent 88bfbb9 commit 6c9439c

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,12 @@ jobs:
146146
run: |
147147
pip install git-cliff
148148
149-
- name: Get new version
149+
- name: Get version numbers
150150
id: get_version
151151
run: |
152+
current_version=$(gh release view --json tagName --jq '.tagName' || echo "v0.0.0")
153+
echo "current_version=$current_version" >> $GITHUB_OUTPUT
154+
152155
new_version=$(git-cliff --bumped-version)
153156
echo "new_version=$new_version" >> $GITHUB_OUTPUT
154157
@@ -157,26 +160,29 @@ jobs:
157160
env:
158161
PR_BODY: ${{ github.event.pull_request.body }}
159162
run: |
160-
changelog=$(git cliff --unreleased --bump --latest --strip all)
161-
# strip off first line (which is the version number)
163+
changelog=$(git-cliff --unreleased --bump --latest --strip all)
164+
# Strip off first line (which is the version number)
162165
changelog=$(printf "%s" "$changelog" | sed '1d')
163166
164167
# Get custom notes from the PR body
165168
custom_notes="$PR_BODY"
166169
# Fix line endings
167-
custom_notes=$(printf "%s" "$custom_notes" | tr -d '\r')
170+
custom_notes=$(echo "$custom_notes" | tr -d '\r')
168171
# Keep only the part after the first '---' line
169172
custom_notes=$(echo "$custom_notes" | sed -n '/^---$/,$p' | sed '1d')
170173
# Strip leading / trailing whitespace
171-
custom_notes=$(printf "%s" "$custom_notes" | sed 's/^[ \t]*//;s/[ \t]*$//')
174+
custom_notes=$(echo "$custom_notes" | sed 's/^[ \t]*//;s/[ \t]*$//')
172175
173176
# Create the release notes file
174177
touch /tmp/notes.md
175178
echo "# Release ${{ steps.get_version.outputs.new_version }}" > /tmp/notes.md
176179
if [[ -n "$custom_notes" ]]; then
177180
printf "%s\n\n" "$custom_notes" >> /tmp/notes.md
178181
fi
179-
printf "## Changes\n%s\n" "$changelog" >> /tmp/notes.md
182+
printf "## What's Changed\n%s\n" "$changelog" >> /tmp/notes.md
183+
184+
# Append link to full diff
185+
echo -e "\n**Full diff**: https://github.com/${{ github.repository_owner }}/${{ github.repository }}/compare/${{ steps.get_version.outputs.current_version }}...${{ steps.get_version.outputs.new_version }}" >> /tmp/notes.md
180186
181187
echo "release_note_file=/tmp/notes.md" >> $GITHUB_OUTPUT
182188

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [0.9.1] - 2025-06-04
5+
## [0.9.1] - 2025-06-05
66

77
### Features
88

0 commit comments

Comments
 (0)