Skip to content

fix(release): set RELEASED_VERSION env var#7

Merged
NoNamer777 merged 1 commit into
mainfrom
fix/6-set-released-version-env-var
Jul 19, 2026
Merged

fix(release): set RELEASED_VERSION env var#7
NoNamer777 merged 1 commit into
mainfrom
fix/6-set-released-version-env-var

Conversation

@NoNamer777

Copy link
Copy Markdown
Member

Summary

Context

release.yml calls dnd-mapp/action-extract-release-notes twice (the validate job's "Check changelog section" step, and the create-release job's "Prepare release notes" step) but never sets the RELEASED_VERSION environment variable that action reads. Since the workflow was added after v1.0.0 was tagged by hand, it has never actually run, so the gap wasn't caught before now: the first real tag push would fail both steps with The RELEASED_VERSION environment variable is not set.

Changes

Added an env: block scoped to just those two steps, setting RELEASED_VERSION: ${{ github.ref_name }}. Confirmed against action-extract-release-notes's own source that it expects exactly this format (the raw pushed tag, e.g. v1.2.3, with the v stripped internally), so no other changes were needed.

Test Plan

  • Push a vX.Y.Z tag and confirm release.yml runs both steps successfully end-to-end

Fixes: #6

Both action-extract-release-notes calls omitted this env var, so it
throws once release.yml actually runs against a pushed tag.

Fixes #6
@NoNamer777
NoNamer777 merged commit 17cdb30 into main Jul 19, 2026
3 checks passed
@NoNamer777
NoNamer777 deleted the fix/6-set-released-version-env-var branch July 19, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

release.yml never sets RELEASED_VERSION, so action-extract-release-notes calls will fail

1 participant