Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 3, 2026

Plan: Fix changeset.js to use current tag when generating changelog entry

  • Understand the issue: When GH_AW_CURRENT_VERSION env var is set, it should be used as the release version directly, not bumped
  • Modify runRelease() to check if GH_AW_CURRENT_VERSION is set
    • If set, use it directly as the release version (skip bumping)
    • If not set, calculate next version by bumping current version (existing behavior)
  • Modify runVersion() similarly to show correct version
  • Update documentation comments to clarify the behavior
  • Test the changes manually to verify correct behavior
    • Test without GH_AW_CURRENT_VERSION: Works correctly (bumps version)
    • Test with GH_AW_CURRENT_VERSION: Works correctly (uses specified version)
  • Run formatting and linting (make fmt-cjs, make lint-cjs)
  • Run pre-commit validation (make agent-finish)
Original prompt

Update changeset.js to use current tag, not the next tag when generating the entry.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

PR titles: [WIP] Update changeset.js to use current tag for entry generation; [WIP] Remove shared agentic workflow file and update usages
GitHub MCP merged PRs ✅
Safeinputs gh pr list ✅
Serena activate ✅
Playwright title check ❌ (tool unavailable)
Tavily search ✅
File write + cat ✅
Discussion comment ✅
Build ✅
Overall: FAIL

AI generated by Smoke Codex

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
When GH_AW_CURRENT_VERSION environment variable is set, use it directly
as the release version instead of bumping it. This allows forcing a
specific version for the changelog entry.

Updated both runVersion() and runRelease() functions to check for
the environment variable and skip version bumping when present.

Also updated the documentation comments to clarify the behavior.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan closed this Feb 3, 2026
Copilot AI requested a review from pelikhan February 3, 2026 13:02
Copilot stopped work on behalf of pelikhan due to an error February 3, 2026 13:02
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.

2 participants