Currently the publication is manually done by human. We may add a workflow to the CI that does the following things.
- Check for packages that need publishing (by comparing versions of local packages and packages on pub.dev).
- Set up pub.dev credentials (
accessToken and refreshToken).
- Run
pub publish --dry-run for each package on pull request.
- Run
pub publish for each package on push.
Basic idea: https://medium.com/evenbit/publishing-dart-packages-with-github-actions-5240068a2f7d
Currently the publication is manually done by human. We may add a workflow to the CI that does the following things.
accessTokenandrefreshToken).pub publish --dry-runfor each package on pull request.pub publishfor each package on push.Basic idea: https://medium.com/evenbit/publishing-dart-packages-with-github-actions-5240068a2f7d