Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
- run: yarn build
- run: yarn lint
- run: yarn test --maxWorkers=1
- name: Validate RC changelog
if: ${{ startsWith(github.ref, 'release/') }}
run: yarn auto-changelog validate --rc
- name: Validate changelog
if: ${{ !startsWith(github.ref, 'release/') }}
run: yarn auto-changelog validate
all-jobs-pass:
name: All jobs pass
runs-on: ubuntu-20.04
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,15 @@ First, `yarn build:link` in this repository, then link `@metamask/controllers` b

The project follows the same release process as the other libraries in the MetaMask organization:

1. Create a release branch
1. Create a release branch named `release/v[version]` (e.g. `release/v10.0.0`)
- For a typical release, this would be based on `main`
- To update an older maintained major version, base the release branch on the major version branch (e.g. `1.x`)
2. Update the changelog
3. Update version in package.json file (e.g. `yarn version --minor --no-git-tag-version`)
4. Create a pull request targeting the base branch (e.g. `main` or `1.x`)
5. Code review and QA
6. Once approved, the PR is squashed & merged
7. The commit on the base branch is tagged
7. The commit on the base branch is tagged as `v[version]` (e.g. `v10.0.0`)
8. The tag can be published as needed

## License
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"homepage": "https://github.com/MetaMask/controllers#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/MetaMask/controllers.git"
"url": "https://github.com/MetaMask/controllers.git"
},
"keywords": [
"MetaMask",
Expand Down