-
-
Notifications
You must be signed in to change notification settings - Fork 198
ci: automated release #1362
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
base: main
Are you sure you want to change the base?
ci: automated release #1362
Conversation
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Caution MetaMask internal reviewing guidelines:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1362 +/- ##
=======================================
Coverage 74.99% 74.99%
=======================================
Files 184 184
Lines 4519 4519
Branches 1108 1108
=======================================
Hits 3389 3389
Misses 1130 1130 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Explanation
Currently there's no automated way to trigger the existing Github Actions responsible for releasing the packages in the repo to NPM.
This PR:
@metamask/create-release-branch
to4.3.1
across all packages.commitlint.config.js
to ignore commits created by@metamask/create-release-branch
.changelog:*
scripts across all repos to match@metamask/core
for consistency.changelog:format
.@metamask/auto-changelog
by moving it to the root and update it to3.4.3
@metamask/create-release-branch
With these changes we're able to do
yarn create-release-branch -i
to create a Release branch locally. Pushing and merging that branch should trigger publish-release action.See Test Release branch here
References
Closes WAPI-739
Checklist
Note
Standardizes changelog tooling and release workflows, adds Yarn constraints, pins/aligns package versions, and updates CI to detect release commits and validate changelogs.
changelog:validate
inlint-build-test.yml
; fix Sonar token block; broadencommit-starts-with
patterns for release detection inmain.yml
.scripts/update-changelog.sh
,scripts/format-changelog.sh
; enhancescripts/validate-changelog.sh
to call local binary with prettier.changelog:update|validate|format
scripts across packages; update docs to referencechangelog:validate
.commitlint.config.js
: ignore auto-generated release commits..yarn/plugins/@yarnpkg/plugin-constraints.cjs
) and register in.yarnrc.yml
..gitignore
negation for.yarn/*
entries.@metamask/sdk
,@metamask/sdk-react
,viem
).@metamask/auto-changelog
to root; bump@metamask/create-release-branch
andprettier
.Written by Cursor Bugbot for commit 1593ced. This will update automatically on new commits. Configure here.