Skip to content

Commit 1b1ee38

Browse files
authored
Fix broken package and stop grinder from doing this to us again (#1464)
* Fix broken package and stop grinder from doing this to us again * update version * Change to minor update
1 parent 6fd2365 commit 1b1ee38

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.13.0+1
2+
* Remove unnecessary dependency on meta.
3+
* Drop --force from pub publish arguments to avoid publishing more broken
4+
packages.
5+
16
## 0.13.0
27
* Fixed case where inherited members could be linked to the wrong mixin (#1434)
38
* Added broken link detection to the search index.

lib/dartdoc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export 'src/sdk.dart';
4646

4747
const String name = 'dartdoc';
4848
// Update when pubspec version changes.
49-
const String version = '0.13.0';
49+
const String version = '0.13.0+1';
5050

5151
final String defaultOutDir = path.join('doc', 'api');
5252

lib/src/model.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import 'package:analyzer/src/generated/resolver.dart'
2424
import 'package:analyzer/src/generated/utilities_dart.dart' show ParameterKind;
2525
import 'package:analyzer/src/dart/element/member.dart' show Member;
2626
import 'package:collection/collection.dart';
27-
import 'package:meta/meta.dart';
2827
import 'package:path/path.dart' as p;
2928
import 'package:tuple/tuple.dart';
3029

@@ -3246,7 +3245,6 @@ class Package extends Nameable implements Documentable {
32463245
final List<Library> _libraries = [];
32473246

32483247
// All library objects related to this package; a superset of _libraries.
3249-
@visibleForTesting
32503248
final Map<LibraryElement, Library> allLibraries = new Map();
32513249

32523250
// Objects to keep track of warnings.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: dartdoc
22
# Also update the `version` field in lib/dartdoc.dart.
3-
version: 0.13.0
3+
version: 0.13.0+1
44
author: Dart Team <[email protected]>
55
description: A documentation generator for Dart.
66
homepage: https://github.com/dart-lang/dartdoc

testing/test_package_docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<meta name="generator" content="made with love by dartdoc 0.13.0">
7+
<meta name="generator" content="made with love by dartdoc 0.13.0+1">
88
<meta name="description" content="test_package API docs, for the Dart programming language.">
99
<title>test_package - Dart API docs</title>
1010

tool/grind.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ indexResources() {
176176
@Task('Publish to pub.dartlang')
177177
@Depends(checkChangelogHasVersion, checkVersionMatches)
178178
publish() async {
179-
await run('pub', arguments: ['publish', '--force']);
179+
await run('pub', arguments: ['publish']);
180180
}
181181

182182
@Task('Run all the tests.')

0 commit comments

Comments
 (0)