Rename changeset tag to changeset git-tag - #2128
Conversation
🦋 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 |
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.
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. |
changeset publishaccepts both--tagand--git-tag. I thinkchangeset tagwas incorrectly named when it got introduced as that didn't match the preexistingchangeset publishvocab.