The open-source AI voice studio. Clone, dictate, create.
ci(release): read the changelog version from tauri.conf.json, not the ref name
jamiepineee4950838d3b
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex e1bcd3e3..d74b05b5 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -179,8 +179,11 @@ jobs:id: changelogshell: bashrun: |- # Get the version from the tag (strip leading 'v')- VERSION="${GITHUB_REF_NAME#v}"+ # Use the version tauri-action resolves (tauri.conf.json). On a tag+ # push it equals the tag minus 'v'; under workflow_dispatch+ # GITHUB_REF_NAME is a branch name (e.g. release/0.6) whose slash+ # breaks the sed address below.+ VERSION="$(jq -r '.version' tauri/src-tauri/tauri.conf.json)"# Extract the section for this version from CHANGELOG.md# Matches from "## [X.Y.Z]" until the next "## [" heading