Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

Branches

Daco Harkes edited this page May 17, 2023 · 3 revisions

Describes the branching strategy of this repository.

main (Dart dev, package prereleases / Dart beta, package previews)

package:ffigen targets new dart:ffi features as they become available. To enable targeting new dart:ffi features right away, the main branch tracks the Dart dev channel. The CI build this branch and pull requests against the latest Dart dev release. We make prereleases from this branch.

The weeks before Dart stable is coming out, there are Dart beta-releases on the Dart beta channel. We change the CI to build this branch against the latest Dart beta release. In this stage, we make previews from this branch.

stable (Dart stable, package stable releases)

The stable branch tracks the Dart stable channel. The CI build this branch and pull requests against the latest Dart stable release. When a new Dart stable is released, we merge the main branch into this branch.

Pull requests

Pull requests that work only on Dart dev or Dart beta should go on the main branch.

Pull requests that work on Dart main can be made on the stable branch to be able to release a new stable version of the package before a new stable version from Dart is released. We merge these changes back into main.