Skip to content

Commit 1762ff9

Browse files
authored
various updates and add publishing automation (dart-archive/io#95)
* various updates and add publishing automation * update publishing script
1 parent 8da8bc8 commit 1762ff9

File tree

5 files changed

+35
-23
lines changed

5 files changed

+35
-23
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# A CI configuration to auto-publish pub packages.
2+
3+
name: Publish
4+
5+
on:
6+
pull_request:
7+
branches: [ master ]
8+
push:
9+
tags: [ 'v[0-9]+.[0-9]+.[0-9]+*' ]
10+
11+
jobs:
12+
publish:
13+
if: ${{ github.repository_owner == 'dart-lang' }}
14+
uses: devoncarew/firehose/.github/workflows/publish.yaml@main

pkgs/io/CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.4
2+
3+
* Updates to the readme.
4+
15
## 1.0.3
26

37
* Revert `meta` constraint to `^1.3.0`.
@@ -12,12 +16,12 @@
1216

1317
## 1.0.0
1418

15-
* Migrate this package to null-safety
16-
* Require Dart >=2.12
19+
* Migrate this package to null-safety.
20+
* Require Dart >=2.12.
1721

1822
## 0.3.5
1923

20-
* Require Dart >=2.1
24+
* Require Dart >=2.1.
2125
* Remove dependency on `package:charcode`.
2226

2327
## 0.3.4

pkgs/io/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
Contains utilities for the Dart VM's `dart:io`.
2-
3-
[![pub package](https://img.shields.io/pub/v/io.svg)](https://pub.dev/packages/io)
41
[![ci](https://github.com/dart-lang/io/workflows/ci/badge.svg?branch=master)](https://github.com/dart-lang/io/actions?query=branch%3Amaster)
2+
[![pub package](https://img.shields.io/pub/v/io.svg)](https://pub.dev/packages/io)
3+
[![package publisher](https://img.shields.io/pub/publisher/io.svg)](https://pub.dev/packages/io/publisher)
4+
5+
Contains utilities for the Dart VM's `dart:io`.
56

67
## Usage - `io.dart`
78

@@ -96,3 +97,8 @@ void main() {
9697
});
9798
}
9899
```
100+
101+
## Publishing automation
102+
103+
For information about our publishing automation and process, see
104+
https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

pkgs/io/analysis_options.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
1-
include: package:lints/recommended.yaml
2-
3-
analyzer:
4-
language:
5-
strict-casts: true
6-
strict-raw-types: true
7-
8-
linter:
9-
rules:
10-
- always_declare_return_types
11-
- omit_local_variable_types
12-
- prefer_single_quotes
13-
- unawaited_futures
1+
include: package:dart_flutter_team_lints/analysis_options.yaml

pkgs/io/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: io
22
description: >-
3-
Utilities for the Dart VM Runtime including support for ANSI colors,
4-
file copying, and standard exit code values.
5-
version: 1.0.3
3+
Utilities for the Dart VM Runtime including support for ANSI colors, file
4+
copying, and standard exit code values.
5+
version: 1.0.4
66
repository: https://github.com/dart-lang/io
77

88
environment:
@@ -14,6 +14,6 @@ dependencies:
1414
string_scanner: ^1.1.0
1515

1616
dev_dependencies:
17-
lints: ^1.0.0
17+
dart_flutter_team_lints: ^0.1.0
1818
test: ^1.16.0
1919
test_descriptor: ^2.0.0

0 commit comments

Comments
 (0)