Bump SDK constraints in meta for pub

Use a 2.12.0 lower bound since pub does not understand allowed
experiments for earlier versions.

Use a 3.0.0 upper bound to avoid a warning in pub and to give some
flexibility in publishing for stable.

Change-Id: I3540dc3c085ac120997e107cfed5a991ad3f5ec4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170202
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
This commit is contained in:
Nate Bosch 2020-11-03 20:45:37 +00:00 committed by commit-bot@chromium.org
parent 64aaa0174e
commit 9ebbca4371
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,8 @@
## 1.3.0-nullsafety.6
* Update SDK constraints to `>=2.12.0-0 <3.0.0` based on beta release
guidelines.
## 1.3.0-nullsafety.5
* Allow prerelease versions of the `2.12` sdk.

View file

@ -1,5 +1,5 @@
name: meta
version: 1.3.0-nullsafety.5
version: 1.3.0-nullsafety.6
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/meta
description: >
This library contains the declarations of annotations that developers can use
@ -7,5 +7,4 @@ description: >
analyzing the source code. These annotations are intended to be used by tools
to provide a better user experience.
environment:
# This must remain a tight constraint until nnbd is stable
sdk: '>=2.10.0-0 <2.12.0'
sdk: ">=2.12.0-0 <3.0.0"