From 817f50472e86b19c8be85980f76f1d7fdc52f165 Mon Sep 17 00:00:00 2001 From: Golumpa Date: Tue, 23 Jun 2026 14:23:16 +0100 Subject: [PATCH 1/3] Make release workflow be a bit more detailed in the release notes --- .github/workflows/release.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a55220..71a6052 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -121,6 +121,8 @@ jobs: steps: - name: Checkout Source Code uses: actions/checkout@v5 + with: + fetch-depth: 0 - name: Get package version id: package-version @@ -128,6 +130,27 @@ jobs: version="$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])")" echo "version=$version" >> "$GITHUB_OUTPUT" + - name: Build Release Notes + run: | + version="${{ steps.package-version.outputs.version }}" + tag="v${version}" + previous_tag="$(git tag --merged HEAD --sort=-v:refname | grep -E '^v[0-9]+(\.[0-9]+)*' | grep -vx "$tag" | head -n 1 || true)" + + { + echo "Release ${tag}" + echo + echo "## Commits included in this release" + echo + if [ -n "$previous_tag" ]; then + echo "Changes since ${previous_tag}:" + echo + git log "${previous_tag}..HEAD" --pretty=format:'- `%h` %s' + else + git log --pretty=format:'- `%h` %s' + fi + echo + } > release-notes.md + - name: Download Artifacts uses: actions/download-artifact@v7 @@ -161,7 +184,8 @@ jobs: ) if gh release view "$tag" >/dev/null 2>&1; then + gh release edit "$tag" --notes-file release-notes.md gh release upload "$tag" "${files[@]}" --clobber else - gh release create "$tag" "${files[@]}" --title "${tag} Release" --notes "Release ${tag}" + gh release create "$tag" "${files[@]}" --title "${tag} Release" --notes-file release-notes.md fi From 8ed01e7fe698fd3756fce20fc36bf0ab37c986ad Mon Sep 17 00:00:00 2001 From: Golumpa Date: Tue, 23 Jun 2026 14:59:05 +0100 Subject: [PATCH 2/3] Added Chaos items Added Chaos, his arc and his bonus cosmetic items. --- mappings/arcs.json | 3 ++- mappings/characters.json | 1 + mappings/items.json | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mappings/arcs.json b/mappings/arcs.json index afaef58..a13efae 100644 --- a/mappings/arcs.json +++ b/mappings/arcs.json @@ -43,5 +43,6 @@ "fork_tuansanlang": {"name": "The Great Thief", "rank": "A"}, "fork_Whale": {"name": "Song of the Whale", "rank": "S"}, "fork_worldrain": {"name": "The Rain That Shook the World", "rank": "S"}, - "fork_Wushoutieyu": {"name": "Raging Flames", "rank": "S"} + "fork_Wushoutieyu": {"name": "Raging Flames", "rank": "S"}, + "fork_GoldWool": {"name": "What's Desired", "rank": "S"} } diff --git a/mappings/characters.json b/mappings/characters.json index 0a7e85a..ddf8f9a 100644 --- a/mappings/characters.json +++ b/mappings/characters.json @@ -17,5 +17,6 @@ "1055": {"name": "Jiuyuan", "rank": "S"}, "1056": {"name": "Lacrimosa", "rank": "S"}, "1070": {"name": "Aurelia", "rank": "A"}, + "1071": {"name": "Chaos", "rank": "S"}, "1073": {"name": "Chiz", "rank": "S"} } diff --git a/mappings/items.json b/mappings/items.json index 7b8325a..6109d84 100644 --- a/mappings/items.json +++ b/mappings/items.json @@ -11,5 +11,8 @@ "Fashion_1052_1": {"type": "cosmetic", "name": "Priceless Orchid", "rank": "S"}, "Fashion_Glide_1004": {"type": "cosmetic", "name": "Tomato Duo", "rank": "A"}, "Fashion_vehicle_1004_V021": {"type": "cosmetic", "name": "Tomato Cruise - Livery", "rank": "S"}, - "Fashion_1004_1": {"type": "cosmetic", "name": "Gilded Rhapsody", "rank": "S"} + "Fashion_1004_1": {"type": "cosmetic", "name": "Gilded Rhapsody", "rank": "S"}, + "Fashion_Glide_1071": {"type": "cosmetic", "name": "Skyrider", "rank": "A"}, + "Fashion_vehicle_1071_V010": {"type": "cosmetic", "name": "Novis ST-X 950 Livery", "rank": "S"}, + "Fashion_1071_1": {"type": "cosmetic", "name": "Clear Skies", "rank": "S"} } From 5e46502ee35381c8fc78bfe7360ac5de6df20ed4 Mon Sep 17 00:00:00 2001 From: Golumpa Date: Tue, 23 Jun 2026 15:03:07 +0100 Subject: [PATCH 3/3] update release workflow to include commit descriptions like this description right here :) --- .github/workflows/release.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71a6052..7f9d2b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -134,6 +134,7 @@ jobs: run: | version="${{ steps.package-version.outputs.version }}" tag="v${version}" + repo_url="${{ github.server_url }}/${{ github.repository }}" previous_tag="$(git tag --merged HEAD --sort=-v:refname | grep -E '^v[0-9]+(\.[0-9]+)*' | grep -vx "$tag" | head -n 1 || true)" { @@ -143,12 +144,23 @@ jobs: echo if [ -n "$previous_tag" ]; then echo "Changes since ${previous_tag}:" - echo - git log "${previous_tag}..HEAD" --pretty=format:'- `%h` %s' + commit_range="${previous_tag}..HEAD" else - git log --pretty=format:'- `%h` %s' + commit_range="HEAD" fi echo + + while IFS= read -r commit; do + short_hash="$(git show -s --format='%h' "$commit")" + title="$(git show -s --format='%s' "$commit")" + description="$(git show -s --format='%b' "$commit")" + + echo "- [\`${short_hash}\`](${repo_url}/commit/${commit}) ${title}" + if [ -n "$description" ]; then + echo "$description" | sed 's/^/ /' + fi + echo + done < <(git rev-list "$commit_range") } > release-notes.md - name: Download Artifacts