-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Releasing a new version of packages
Alex Li edited this page Mar 23, 2023
·
1 revision
The repo uses a specific issue and a corresponding tool with GitHub Actions to publish new versions of packages.
Notice: Only users with write access to the repo can make publishes. Typically users in cfug/devs.
- Make sure the package has something that needs to be published.
- Make sure the
CHANGELOG.md
has theUnreleased
section. - Don't modify/add any version title in the
CHANGELOG.md
.
To publish a new package version, add a comment in the issue.
Comments should follow this format: $name: v$version
For example: dio: v5.0.0
.
- The
name
should be one of [dio, cookie_manager, http2_adapter, native_dio_adapter]. - The
version
should follow the semantic version standard.
After comments are created, the workflow will:
- Push to update
CHANGELOG.md
andpubspec.yaml
. - Push a tag and make a release.
- Publish the package to pub.dev.