Skip to content

ci: bump datum-cloud/actions refs in publish-ui-npm to v1.15.0#205

Open
kevwilliams wants to merge 1 commit into
mainfrom
ci/bump-actions-to-v1.15.0
Open

ci: bump datum-cloud/actions refs in publish-ui-npm to v1.15.0#205
kevwilliams wants to merge 1 commit into
mainfrom
ci/bump-actions-to-v1.15.0

Conversation

@kevwilliams
Copy link
Copy Markdown
Contributor

Summary

Picks up datum-cloud/actions#72 (released as v1.15.0), which fixes bump-npm-version so the package.json bump commit actually lands on main.

Previously, actions/checkout left HEAD detached and npm version made the bump commit on the detached HEAD, leaving main unchanged. publish-release then republished the prior version. The workaround was to manually bump ui/package.json in a PR before triggering release.

After this lands, workflow_dispatch with bump-type: patch|minor|major will correctly:

  1. Advance ui/package.json on main to the new version
  2. Push the matching vX.Y.Z tag at the bump commit
  3. Publish that new version to npm

Manual version bumps in PRs are no longer required.

Test plan

  • After merge, run Publish UI to NPM with bump-type: patch. Confirm:
    • ui/package.json on main advances from 0.5.1 to 0.5.2
    • Tag v0.5.2 points at the bump commit (not at the merge commit before it)
    • @datum-cloud/activity-ui@0.5.2 is published to npm with latest dist-tag
    • GitHub Release v0.5.2 is created

Picks up datum-cloud/actions#72, which fixes bump-npm-version so the
package.json bump commit actually lands on main (previously the bump
happened on a detached HEAD and main was never advanced, causing
publish-release to republish the prior version).

After this lands, workflow_dispatch with a bump-type will correctly
bump ui/package.json on main; manual version bumps in PRs are no
longer required.
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