| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
🦋 Changeset detectedLatest commit: 0976d7b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Sorry, something went wrong.
Codecov Report❌ Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.
@@ 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.
|
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM 🎉
Thanks for the cleanup!
Sorry, something went wrong.
|
I think it's fine keeping it as tag though. We don't need the commands to be related to npm, so tag being "tagged via git" is somewhat ok to me. So I think it's not worth breaking or deprecating for now, until we have some plans to create a different changeset tag command & behaviour. |
Sorry, something went wrong.
|
I'm fine with keeping the name as-is - but I recall some users reporting in the past that changeset tag was misleading to them because it was different from what changeset publish calls a tag |
Sorry, something went wrong.
|
I think after reviewing changesets/action#680, I could kinda see the benefit of this. But if we're to land this, the changeset tag command should still work but log a deprecation warning instead. |
Sorry, something went wrong.
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... |
Sorry, something went wrong.
|
I don't mind making the old changeset tag work with a deprecation warning - given we don't really have any other plans for changeset tag. I pushed out a commit to that effect |
Sorry, something went wrong.
| 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
Sorry, something went wrong.
There was a problem hiding this comment.
Yeah I think that's ok
Sorry, something went wrong.
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.
Sorry, something went wrong.
For me the core commands here feel more important and general, where it can be used for many cases like setting up a custom bash script, child process, custom workflows etc that it's intricate. If it suddenly doesn't work, it'd have a larger impact compared to the breaking changes in the action. But you're right, initially we're conservative with breaking changes, making the major mostly clean-up focused, but we've recently been making quite some breaking stuff already. But given compat support is only a few lines, I think we can swallow the cost for now. |
Sorry, something went wrong.
@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>
| Back | FazBrowse Home | New Git URL |
changeset publish accepts both --tag and --git-tag. I think changeset tag was incorrectly named when it got introduced as that didn't match the preexisting changeset publish vocab.