From 4a38630b7d5211cb139aac7cda627c9a1ca28794 Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Sun, 17 May 2026 10:07:29 +0200 Subject: [PATCH] fix: restore release version source (dedicated version.json) The decommission set conventional-changelog-action to skip-version-file, which made it lose the current-version baseline and recompute from git as 1.1.0 -> tag collision -> release failed. Add version.json as the dedicated version file (seed 1.9.0 = current release). The action reads/bumps it; the 2b step still syncs SKILL.md frontmatter from $VERSION. No marketplace.json dependency reintroduced. --- .github/workflows/automated-release.yml | 6 ++++-- version.json | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 version.json diff --git a/.github/workflows/automated-release.yml b/.github/workflows/automated-release.yml index d03db4a..909585f 100644 --- a/.github/workflows/automated-release.yml +++ b/.github/workflows/automated-release.yml @@ -42,8 +42,10 @@ jobs: preset: 'angular' tag-prefix: 'v' output-file: 'CHANGELOG.md' + version-file: './version.json' + version-path: 'version' skip-on-empty: 'false' - skip-version-file: 'true' + skip-version-file: 'false' skip-commit: 'false' # 2b. Sync plugin version, SKILL.md version, and git ref @@ -103,7 +105,7 @@ jobs: # Commit the sync git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git add skills/terraform-skill/SKILL.md + git add version.json skills/terraform-skill/SKILL.md git commit --amend --no-edit git push --force-with-lease diff --git a/version.json b/version.json new file mode 100644 index 0000000..569e050 --- /dev/null +++ b/version.json @@ -0,0 +1,3 @@ +{ + "version": "1.9.0" +}