Skip to content

Commit 370f788

Browse files
Merge pull request #333 from Workiva/fix_release
CPLAT-8469: Fix 3.2 release. Add SDK constraints to test fixtures.
2 parents 6154145 + 61d6268 commit 370f788

File tree

13 files changed

+45
-19
lines changed

13 files changed

+45
-19
lines changed

.travis.yml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
11
language: dart
22

3-
dart:
4-
- 2.3.0
5-
- stable
6-
- dev
3+
jobs:
4+
include:
5+
- dart: "2.4.1"
6+
name: "SDK: 2.4.1"
7+
script:
8+
- pub run dart_dev analyze
9+
- pub run dart_dev test
10+
- dart: stable
11+
name: "SDK: stable"
12+
script:
13+
- pub run dart_dev analyze
14+
- pub run dependency_validator -i pedantic
15+
- pub run dart_dev format --check
16+
- pub run dart_dev test
17+
- pub publish --dry-run
18+
- dart: dev
19+
name: "SDK: dev"
20+
script:
21+
- pub run dart_dev analyze
22+
- pub run dart_dev test
723

8-
sudo: required
9-
addons:
10-
chrome: stable
11-
12-
script:
13-
- pub run dependency_validator -i pedantic
14-
- pub run dart_dev analyze
15-
- pub run dart_dev format --check
16-
- pub run dart_dev test
17-
- pub publish --dry-run
24+
cache:
25+
directories:
26+
- "$HOME/.pub-cache"

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Changelog
22

3-
## [3.2.0](https://github.com/Workiva/dart_dev/compare/3.1.0...3.2.0)
3+
## [3.2.0 + 3.2.1](https://github.com/Workiva/dart_dev/compare/3.1.0...3.2.1)
44

55
- Add an optional `String workingDirectory` parameter when creating a
66
`DevTool.fromProcess()` or `ProcessTool()`.
77
- Expose the `Process` created by a `ProcessTool` via a public field.
8+
- Fix release configuration (the 3.2.0 release did not get created properly).
9+
- Add SDK constraints to all of the test fixture `pubspec.yaml` files.
810

911
## [3.1.0](https://github.com/Workiva/dart_dev/compare/3.0.0...3.1.0)
1012

lib/src/tools/process_tool.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import '../dart_dev_tool.dart';
88
import '../utils/assert_no_positional_args_nor_args_after_separator.dart';
99
import '../utils/logging.dart';
1010
import '../utils/process_declaration.dart';
11-
import '../utils/run_process_and_ensure_exit.dart';
1211

1312
final _log = Logger('Process');
1413

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: dart_dev
2-
version: 3.2.0
2+
version: 3.2.1
33
description: Centralized tooling for Dart projects. Consistent interface across projects. Easily configurable.
44
authors:
55
- Workiva Client Platform Team <[email protected]>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: dart_dev_test_functional_analyze_failure
22
version: 0.0.0
3-
3+
environment:
4+
sdk: ">=2.3.0 <3.0.0"
45
dev_dependencies:
56
dart_dev:
67
path: ../../../../..
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: dart_dev_test_functional_analyze_success
22
version: 0.0.0
3-
3+
environment:
4+
sdk: ">=2.3.0 <3.0.0"
45
dev_dependencies:
56
dart_dev:
67
path: ../../../../..
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
name: has_dart_style
2+
environment:
3+
sdk: ">=2.3.0 <3.0.0"
24
dev_dependencies:
35
dart_style: any
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
name: missing_dart_style
2+
environment:
3+
sdk: ">=2.3.0 <3.0.0"
24
dev_dependencies:
35
test: any
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: has_test_runner_and_build_test
2+
environment:
3+
sdk: ">=2.3.0 <3.0.0"
24
dev_dependencies:
35
build_test: any
46
test: any
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
name: missing_test_runner
2+
environment:
3+
sdk: ">=2.3.0 <3.0.0"
24
dev_dependencies:
35
test: any

0 commit comments

Comments
 (0)