-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add script for updating package version #1794
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1794 +/- ##
=======================================
Coverage 97.81% 97.81%
=======================================
Files 17 17
Lines 1465 1465
Branches 307 307
=======================================
Hits 1433 1433
Misses 32 32 ☔ View full report in Codecov by Sentry. |
Or would you prefer changeset, like in |
I can see that there's an automatic script that already makes a PR for this. How does it work? |
@Strift Ah okay, I made this PR because CONTRIBUTING.md states that the version is updated manually. If #1792 ever becomes a reality, this private repository you mentioned will have to be updated. Unless JSR starts supporting I guess I'm closing this then. |
@flevi29 yes so far, the automation is private However, I would be ok to add an automation here, but only as a github action (with |
Alright, I'll think about it that way. 👍 |
Hey @curquiza, I see these types of PRs: #1830 What is the trigger for them? They can't be automatic, right? They have to be manually run workflows, right? Also I somehow need to get the version from release drafter? How does the current implementation solve it? |
Pull Request
What does this PR do?
yarn update-version
-p
(or--patch
or no arguments) - bumps the patch version (0.46.0 -> 0.46.1)-m
(or--minor
) - bumps the minor version (0.46.0 -> 0.47.0)-M
(or--major
) - bumps the major version (0.46.0 -> 1.0.0)-e
(or--exact
) - changes the version to exactly what you specify as X.X.XPR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!