Skip to content

Commit

Permalink
Update the Dart language version in the pubspec generated by the dart…
Browse files Browse the repository at this point in the history
…doc script (#116789)
  • Loading branch information
jason-simmons authored Dec 9, 2022
1 parent 48cfe2e commit b4304da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/bots/docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function create_docset() {
dashing_pid=$!
wait $dashing_pid && \
cp ./doc/flutter/static-assets/favicon.png ./flutter.docset/icon.png && \
"$DART" --no-sound-null-safety --disable-dart-dev --enable-asserts ./dashing_postprocess.dart && \
"$DART" --disable-dart-dev --enable-asserts ./dashing_postprocess.dart && \
tar cf flutter.docset.tar.gz --use-compress-program="gzip --best" flutter.docset
if [[ $? -ne 0 ]]; then
>&2 echo "Dashing docset generation failed"
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/dartdoc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Future<void> main(List<String> arguments) async {
buf.writeln('homepage: https://flutter.dev');
buf.writeln('version: 0.0.0');
buf.writeln('environment:');
buf.writeln(" sdk: '>=2.10.0 <4.0.0'");
buf.writeln(" sdk: '>=2.12.0 <4.0.0'");
buf.writeln('dependencies:');
for (final String package in findPackageNames()) {
buf.writeln(' $package:');
Expand Down

0 comments on commit b4304da

Please sign in to comment.