Repository navigation
Rename changeset tag to changeset git-tag - #2128
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2128 +/- ##
==========================================
+ Coverage 86.18% 87.28% +1.09%
==========================================
Files 71 71
Lines 2585 2548 -37
Branches 703 681 -22
==========================================
- Hits 2228 2224 -4
+ Misses 330 300 -30
+ Partials 27 24 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
trueberryless
left a comment
There was a problem hiding this comment.
LGTM 🎉
Thanks for the cleanup!
|
I think it's fine keeping it as |
|
I'm fine with keeping the name as-is - but I recall some users reporting in the past that |
|
I think after reviewing changesets/action#680, I could kinda see the benefit of this. But if we're to land this, the |
I mean to be fair, we also rename some action inputs in that major bump without deprecation, so why not do it like that here? Not to say, I do not like a slow migration. I can see that in the action two inputs for one setting at the same time are confusing, so it makes sense there. But theoretically we could do the same error with a "got renamed" message here as well... |
|
I don't mind making the old I pushed out a commit to that effect |
| cli | ||
| .command("tag", "Create git tags for the current version of all packages") | ||
| .command("git-tag", "Create git tags for the current version of all packages") | ||
| .alias("tag") |
There was a problem hiding this comment.
from what i can tell this alias doesn't appear in the --help and I couldn't think of any other place that could be somehow negatively affected by this
beeequeue
left a comment
There was a problem hiding this comment.
my initial reaction was that i didn't see the point in doing this, but in the end it's more specific which can only help.
@changesets/cli v3 renamed the `changeset tag` command to `changeset git-tag` (changesets/changesets#2128). This PR bumps the CLI to v3, so the publish step in release.yml would call a command that no longer exists and every release after this merge would fail at the tag step. Ships in the same PR as the bump so there is no window where main is broken. Co-Authored-By: Gale
* build(deps): bump js-yaml and @changesets/cli Removes [js-yaml](https://github.com/nodeca/js-yaml). It's no longer used after updating ancestor dependency [@changesets/cli](https://github.com/changesets/changesets/tree/HEAD/packages/cli). These dependencies need to be updated together. Removes `js-yaml` Updates `@changesets/cli` from 2.31.0 to 3.0.0 - [Release notes](https://github.com/changesets/changesets/releases) - [Changelog](https://github.com/changesets/changesets/blob/main/packages/cli/CHANGELOG.md) - [Commits](https://github.com/changesets/changesets/commits/@changesets/cli@3.0.0/packages/cli) --- updated-dependencies: - dependency-name: js-yaml dependency-version: dependency-type: indirect - dependency-name: "@changesets/cli" dependency-version: 3.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * ci: rename changeset tag to git-tag for changesets v3 @changesets/cli v3 renamed the `changeset tag` command to `changeset git-tag` (changesets/changesets#2128). This PR bumps the CLI to v3, so the publish step in release.yml would call a command that no longer exists and every release after this merge would fail at the tag step. Ships in the same PR as the bump so there is no window where main is broken. Co-Authored-By: Gale --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wind <deachawat9937@gmail.com>

changeset publishaccepts both--tagand--git-tag. I thinkchangeset tagwas incorrectly named when it got introduced as that didn't match the preexistingchangeset publishvocab.