Skip to content

fix(ci): update tests to cover sdk-v* tag format for npm latest dist-tag#868

Open
marythought wants to merge 1 commit intomainfrom
fix/DSPX-2650-sdk-v-dist-tag
Open

fix(ci): update tests to cover sdk-v* tag format for npm latest dist-tag#868
marythought wants to merge 1 commit intomainfrom
fix/DSPX-2650-sdk-v-dist-tag

Conversation

@marythought
Copy link
Contributor

Summary

  • Added test coverage for the sdk-v* tag format in guess-dist-tag.bats and gh-semver.bats (the scripts already handle both sdk/v* and sdk-v*, but tests only covered the old format)
  • Updated the comment in gh-semver.sh to reflect the current sdk-v* tag format
  • Kept existing sdk/v* tests as "legacy" to ensure backward compatibility

Context

Release Please changed the tag format from sdk/v* (slash) to sdk-v* (hyphen) starting at v0.4.1 (July 2025). The delivery scripts already match both patterns, but tests only validated the old format. npm's latest dist-tag has been stuck at 0.4.0 for ~9 months as a result of earlier issues with this mismatch.

Test plan

  • All 11 bats tests pass locally (bats .github/workflows/guess-dist-tag.bats .github/workflows/gh-semver.bats)
  • GITHUB_REF=refs/tags/sdk-v0.11.0 .github/workflows/guess-dist-tag.sh outputs latest
  • After merge, merge PR chore(sdk): release sdk 0.11.0 #864 (pending 0.11.0 release) to trigger the fixed publish pipeline and verify latest dist-tag updates on npm

🤖 Generated with Claude Code

Release Please changed the tag format from sdk/v* to sdk-v* starting at
v0.4.1. The scripts already handle both formats, but the tests only
covered the old sdk/v* pattern. This adds test coverage for sdk-v* and
updates the gh-semver.sh comment to reflect the current format.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@marythought marythought requested a review from a team as a code owner March 13, 2026 22:57
@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@github-actions
Copy link

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.

1 participant