Skip to content

chore: release 2.5.0 and auto-publish on version bumps - #14

Merged
gtokman merged 2 commits into
mainfrom
devin/1794405998-release-2-5-0
Nov 11, 2026
Merged

gtokman merged 2 commits into
mainfrom
devin/1794405998-release-2-5-0

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Bumps mta-js to 2.5.0 to ship the new agency clients from #13 (mta.mbta, mta.bart, mta.kingCountyMetro, mta.capMetro, mta.pace, mta.triRail, mta.brightline, mta.bayWheels, mta.divvy, mta.bluebikes). 2.4.0 is already on npm.

publish.yml now publishes from a push to main instead of from a pushed tag:

on push to main (or workflow_dispatch):
  if npm already has name@version → skip
  else → bun test, typecheck, pack dry run, npm publish,
         then gh release create v<version> --target $GITHUB_SHA --generate-notes
  • A release only happens when package.json has a version that isn't on npm yet. Every other push to main is a no-op.
  • The tag and release are created after npm publish succeeds, so a failed publish leaves no tag behind.
  • The file name stays publish.yml, so the npm trusted-publisher config (OIDC, id-token: write) still matches. contents: write was added so the workflow can create the tag and release.
  • The tags: v* trigger was removed. A tag created by GITHUB_TOKEN doesn't trigger workflows anyway, and keeping the trigger would let a manually pushed tag publish twice.

Merging this PR publishes 2.5.0 and creates the v2.5.0 release.

Link to Devin session: https://app.devin.ai/sessions/8d319beac0174974a184312ce7c14932
Open in Devin Desktop: https://app.devin.ai/desktop/session/8d319beac0174974a184312ce7c14932?variant=devin
Requested by: @gtokman

gtokman and others added 2 commits November 11, 2026 06:06
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@gtokman
gtokman merged commit 8d8d39d into main Nov 11, 2026
5 checks passed
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