Repository navigation
Bump changesets/action from 1.9.0 to 2.1.2 - #879
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [changesets/action](https://github.com/changesets/action) from 1.9.0 to 2.1.2. - [Release notes](https://github.com/changesets/action/releases) - [Changelog](https://github.com/changesets/action/blob/main/CHANGELOG.md) - [Commits](changesets/action@a45c4d5...ae32849) --- updated-dependencies: - dependency-name: changesets/action dependency-version: 2.1.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
| - name: Create Release Pull Request or Publish | ||
| id: changesets | ||
| uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d | ||
| uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 |
There was a problem hiding this comment.
🔴 Release scripts silently revert to defaults
With the v2 action, version and publish no longer select the project's release scripts. The default scripts omit the lockfile refresh and publish-time build, producing stale release artifacts.
Learn more
The release workflow supplies custom version and publish commands to the Changesets action. Versioning runs changeset version && npm install to update the npm lockfile; publishing runs a build before changeset publish (scripts). The v2 action renames version, publish, commit, and title to version-script, publish-script, commit-message, and pr-title. The unchanged inputs are ignored, so the action runs its defaults instead of these commands and uses default release PR text.
Example: A changeset bumps @tus/server and an internal dependency. Without npm install after versioning, the release PR can retain the old dependency version in package-lock.json even though the package manifests have changed.
Recommended fix: Rename all four inputs in the workflow to their v2 equivalents. Keep the existing command values so versioning refreshes the lockfile and publishing rebuilds the packages.
Was this helpful? React with 👍 or 👎 to provide feedback.
Bumps changesets/action from 1.9.0 to 2.1.2.
Release notes
Sourced from changesets/action's releases.
... (truncated)
Changelog
Sourced from changesets/action's changelog.
... (truncated)
Commits
ae32849v2.1.20138f45Version Packages (#726)8833883Handle error when pushing git tags with the git CLI (#735)e08fde7Improve log messages (#730)371fd77Bump human-id in the production-dependencies group across 1 directory (#732)85efcafBump actions/checkout in the github-actions group across 1 directory (#734)5bb9d5cBump the development-dependencies group across 1 directory with 7 updates (#733)ca85897Always prepare branch for version (#729)36f529fFix root action double error logs (#724)d7669c8Version Packages (#722)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)