Skip to content

[WTF-2832]: Apply latest dist tag - #245

Merged
weirdwater merged 3 commits into
masterfrom
wtf/2832-dist-tags
Nov 3, 2026
Merged

weirdwater merged 3 commits into
masterfrom
wtf/2832-dist-tags

Conversation

@weirdwater

@weirdwater weirdwater commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Since we introduced backports, the publish to npm script has stopped applying the latest tag.

This PR moves the logic into a node script for clarity

Testing

A commit was added allowing the pipeline to test against a test package. This needs to be removed before merge.

At time of test, the latest version of the test package on npm was 3.3.0

Publishing a latest version

  • Push tag test-v3.4.0
  • Publish npm packages workflow is triggered.
  • Publish command is called with tag latest
Screenshot 2026-11-02 at 16 06 41

Publishing a backport version

  • Push tag test-v3.2.5
  • Publish npm packages workflow is triggered.
  • Publish command is called with tag 3.2-latest
Screenshot 2026-11-02 at 16 07 06

To Do

  • Remove do not merge commit

@weirdwater
weirdwater requested a review from a team as a code owner November 2, 2026 14:18
Comment thread .github/workflows/PublishNpm.yml Resolved
@weirdwater
weirdwater enabled auto-merge November 3, 2026 14:14
@weirdwater
weirdwater merged commit 33b4e11 into master Nov 3, 2026
17 of 18 checks passed
@weirdwater
weirdwater deleted the wtf/2832-dist-tags branch November 3, 2026 15:05

This branch was successfully deployed

1 active (outdated) deployment
test — 30d99407 Deployed Nov 2, 2026 by weirdwater via Publish NPM packages (test, 3.4.0) #99
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