Skip to content

Commit 51ad1c9

Browse files
authored
Update pubspec.yaml and check for Dart 2.7 (#2092)
1 parent debccd1 commit 51ad1c9

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: dartdoc
22
# Run `grind build` after updating.
33
version: 0.29.2
4-
author: Dart Team <[email protected]>
54
description: A non-interactive HTML documentation generator for Dart source code.
65
homepage: https://github.com/dart-lang/dartdoc
76
environment:

tool/grind.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -876,12 +876,8 @@ Future<void> checkBuild() async {
876876
@Task('Dry run of publish to pub.dartlang')
877877
@Depends(checkChangelogHasVersion)
878878
Future<void> tryPublish() async {
879-
if (Platform.version.contains('dev')) {
880-
log('Skipping publish check -- requires a stable version of the SDK');
881-
} else {
882-
var launcher = SubprocessLauncher('try-publish');
883-
await launcher.runStreamed(sdkBin('pub'), ['publish', '-n']);
884-
}
879+
var launcher = SubprocessLauncher('try-publish');
880+
await launcher.runStreamed(sdkBin('pub'), ['publish', '-n']);
885881
}
886882

887883
@Task('Run a smoke test, only')

0 commit comments

Comments
 (0)