Skip to content

Commit 9d22591

Browse files
committed
Moving fixes
1 parent 66b5ae3 commit 9d22591

File tree

7 files changed

+23
-24
lines changed

7 files changed

+23
-24
lines changed

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@
2323
"package:fixnum":
2424
- changed-files:
2525
- any-glob-to-any-file: 'pkgs/fixnum/**'
26+
27+
"package:os_detect":
28+
- changed-files:
29+
- any-glob-to-any-file: 'pkgs/os_detect/**'

pkgs/os_detect/.github/workflows/test-package.yml renamed to .github/workflows/os_detect.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
1-
name: Dart CI
1+
name: package:os_detect
22

33
on:
4-
# Run on PRs and pushes to the default branch.
4+
# Run CI on pushes to the main branch, and on PRs against main.
55
push:
6-
branches: [ master ]
6+
branches: [ main ]
7+
paths:
8+
- '.github/workflows/os_detect.yaml'
9+
- 'pkgs/os_detect/**'
710
pull_request:
8-
branches: [ master ]
11+
branches: [ main ]
12+
paths:
13+
- '.github/workflows/os_detect.yaml'
14+
- 'pkgs/os_detect/**'
915
schedule:
1016
- cron: "0 0 * * 0"
11-
1217
env:
1318
PUB_ENVIRONMENT: bot.github
1419

20+
defaults:
21+
run:
22+
working-directory: pkgs/os_detect/
23+
1524
jobs:
1625
# Check code formatting and static analysis on a single OS (linux)
1726
# against Dart dev.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This repository is home to various Dart packages under the [dart.dev](https://pu
1414
| [convert](pkgs/convert/) | Utilities for converting between data representations. | [![pub package](https://img.shields.io/pub/v/convert.svg)](https://pub.dev/packages/convert) |
1515
| [crypto](pkgs/crypto/) | Implementations of SHA, MD5, and HMAC cryptographic functions. | [![pub package](https://img.shields.io/pub/v/crypto.svg)](https://pub.dev/packages/crypto) |
1616
| [fixnum](pkgs/fixnum/) | Library for 32- and 64-bit signed fixed-width integers. | [![pub package](https://img.shields.io/pub/v/fixnum.svg)](https://pub.dev/packages/fixnum) |
17+
| [os_detect](pkgs/os_detect/) | Platform independent OS detection. | [![pub package](https://img.shields.io/pub/v/os_detect.svg)](https://pub.dev/packages/os_detect) |
1718

1819
## Publishing automation
1920

pkgs/os_detect/.github/dependabot.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

pkgs/os_detect/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
## 2.0.2-wip
1+
## 2.0.2
22

33
- Require Dart 3.0
44
- Make work with VM's platform-constants.
5+
- Move to `dart-lang/core` monorepo.
56

67
## 2.0.1
78

pkgs/os_detect/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://github.com/dart-lang/os_detect/workflows/Dart%20CI/badge.svg)](https://github.com/dart-lang/os_detect/actions?query=workflow%3A"Dart+CI"+branch%3Amaster)
1+
[![Dart CI](https://github.com/dart-lang/core/actions/workflows/os_detect.yaml/badge.svg)](https://github.com/dart-lang/core/actions/workflows/os_detect.yaml)
22
[![pub package](https://img.shields.io/pub/v/os_detect.svg)](https://pub.dev/packages/os_detect)
33
[![package publisher](https://img.shields.io/pub/publisher/os_detect.svg)](https://pub.dev/packages/os_detect/publisher)
44

pkgs/os_detect/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: os_detect
2-
version: 2.0.2-wip
2+
version: 2.0.2
33
description: Platform independent OS detection.
44
repository: https://github.com/dart-lang/core/tree/main/pkgs/os_detect
55

0 commit comments

Comments
 (0)