-
Notifications
You must be signed in to change notification settings - Fork 130
Dartdoc release engineering
jcollins-g edited this page Jun 22, 2018
·
4 revisions
The basic steps for releasing a new Dartdoc package are:
- Run
pub run grinder publishat the desired commit to validate that the package has no warnings or errors and that basic sanity checks pass. - Create a release at this version: https://github.com/dart-lang/dartdoc/releases, select "Draft a new release". Create a new tag and pick the commit you tried at step 1.
- Run
pub publishand confirm that you want to upload the package.
However, that does not cover updating the versions in important downstream packages like the Dart SDK and Flutter.
- Modify the DEPS file at the root of the SDK package to increment the dartdoc version.
- Also upgrade any versions of dependent packages. Check for this with:
git diff [previous version tag] pubspec.yaml
git diff [previous version tag] pubspec.lock
- As a sanity check, build and install the resulting Dart SDK.
- Verify that dartdoc can generate documentation for itself, and the SDK, and
Submit that change via the submit queue.
DARTDOC_ORIGINAL=[previous version tag] pub run grinder compare-flutter-warnings