Skip to content

Publish packages automatically after merge #378

@swift-kim

Description

@swift-kim

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

Metadata

Metadata

Assignees

Labels

ciRelated to continuous integration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions