@@ -15,12 +15,10 @@ Thank you for your interest in contributing! Your work can help many developers.
15151 . Make the changes.
16161 . If there exists an example app under ` /example ` , use it to manually test your changes.
17171 . Write a unit test for your change, under ` test/ ` .
18- 1 . Update the ` CHANGELOG.md ` using [ ` cider ` ] ( https://pub.dev/packages/cider ) . For example:
19- ```
20- cider log changed|added|fixed|removed 'Added a schmilblick'
21- ```
22181 . Make sure all the existing tests are passing with ` flutter test ` .
23191 . Make sure the repo is formatted using ` dart format . ` .
20+ 1 . Bump the version in ` pubspec.yaml ` according to [ semantic versioning] ( https://semver.org/ ) .
21+ 1 . Update the ` CHANGELOG.md ` , following existing formatting and conventions.
24221 . Commit the changes to your branch and push.
2523
2624That's it! Releasing is done by team members, see the [ Releasing] ( #releasing ) section below.
@@ -33,35 +31,22 @@ That's it! Releasing is done by team members, see the [Releasing](#releasing) se
3331### Releasing
3432
3533> ** Note**
36- > For [ package maintainers](https://github.com/orgs/material-foundation/teams/material-flutter-package-maintainers) only
34+ > For package maintainers only
3735
3836> ** Tip**
3937> To run a command for all subpackages, use ` for d in ./packages/*; do (cd "$d" && <command>); done `
4038
41- 1. Bump `pubspec.yaml`'s `version` with:
42- ```
43- cider bump major|minor|patch
44- ```
45- 1. Update the `CHANGELOG.md` with:
46- ```
47- cider release
48- ```
39+ 1 . Ensure ` version ` was bumped in ` pubspec.yaml ` .
40+
41+ 1 . Ensure equivalent version is shown in ` CHANGELOG.md ` , and that there is no ` ## Unreleased ` section.
4942
50431 . Publish to [ pub.dev] ( https://pub.dev/publishers/material.io/packages ) with:
5144 ```
5245 flutter pub publish
5346 ```
54- 1. Create and push a commit and tag
55- ```
56- git commit -am "bump \`$(basename $PWD)\` to $(cider version)"
57- git tag "$(basename $PWD)-$(cider version)"
58- git push --all
59- ```
6047
6148## Adding a new package
6249New packages should be accounted for in:
6350- [`.github/dependabot.yml`](.github/dependabot.yml)
64- - [`.github/ISSUE_TEMPLATE/bug_report.yml`](.github/ISSUE_TEMPLATE/bug_report.yml)
65- - [`.github/ISSUE_TEMPLATE/feature_request.yml`](.github/ISSUE_TEMPLATE/feature_request.yml)
6651- [`.github/labeler.yml`](.github/labeler.yml)
6752- [`.github/workflows/checks.yml`](.github/workflows/checks.yml)
0 commit comments