[infra] Publish `hooks_*` and `*_assets` (#2470)
Publishing order is `hooks` -> `hooks_runner` -> `code_assets`/`data_assets`
---
<details>
<summary>Contribution guidelines:</summary><br>
- See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general expectations for PRs.
- Larger or significant changes should be discussed in an issue before creating a PR.
- Contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`.
- Most changes should add an entry to the changelog and may need to [rev the pubspec package version](https://github.com/dart-lang/sdk/blob/main/docs/External-Package-Maintenance.md#making-a-change).
- Changes to packages require [corresponding tests](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md#Testing).
Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.
</details>
diff --git a/pkgs/code_assets/CHANGELOG.md b/pkgs/code_assets/CHANGELOG.md
index dd55140..635c156 100644
--- a/pkgs/code_assets/CHANGELOG.md
+++ b/pkgs/code_assets/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 0.19.4-wip
+## 0.19.5
- Bump `package:hooks` to 0.20.0.
diff --git a/pkgs/code_assets/pubspec.yaml b/pkgs/code_assets/pubspec.yaml
index b10ff41..dc94da2 100644
--- a/pkgs/code_assets/pubspec.yaml
+++ b/pkgs/code_assets/pubspec.yaml
@@ -3,7 +3,7 @@
This library contains the hook protocol specification for bundling native code
with Dart packages.
-version: 0.19.4-wip
+version: 0.19.4
repository: https://github.com/dart-lang/native/tree/main/pkgs/code_assets
@@ -21,7 +21,7 @@
dependencies:
collection: ^1.19.1
- hooks: ^0.20.0-wip
+ hooks: ^0.20.0
dev_dependencies:
custom_lint: ^0.7.5
diff --git a/pkgs/data_assets/CHANGELOG.md b/pkgs/data_assets/CHANGELOG.md
index 9ea04f0..7e0df1e 100644
--- a/pkgs/data_assets/CHANGELOG.md
+++ b/pkgs/data_assets/CHANGELOG.md
@@ -1,6 +1,6 @@
-## 0.19.2-wip
+## 0.19.2
-- Bump `package:hooks` to 0.20.0-wip.
+- Bump `package:hooks` to 0.20.0.
## 0.19.1
diff --git a/pkgs/data_assets/pubspec.yaml b/pkgs/data_assets/pubspec.yaml
index 5a98235..8afe3c0 100644
--- a/pkgs/data_assets/pubspec.yaml
+++ b/pkgs/data_assets/pubspec.yaml
@@ -3,7 +3,7 @@
This library contains the hook protocol specification for bundling data assets
with Dart packages.
-version: 0.19.2-wip
+version: 0.19.2
repository: https://github.com/dart-lang/native/tree/main/pkgs/data_assets
@@ -17,7 +17,7 @@
sdk: '>=3.9.0-21.0.dev <4.0.0'
dependencies:
- hooks: ^0.20.0-wip
+ hooks: ^0.20.0
dev_dependencies:
custom_lint: ^0.7.5
diff --git a/pkgs/hooks/CHANGELOG.md b/pkgs/hooks/CHANGELOG.md
index 2af051d..8a77160 100644
--- a/pkgs/hooks/CHANGELOG.md
+++ b/pkgs/hooks/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 0.20.0-wip
+## 0.20.0
* **Breaking change** Rename `EncodedAsset.jsonPath` to
`EncodedAsset.encodingJsonPath`. This field only governs the `EncodedAsset.encoding` field, not the whole object.
diff --git a/pkgs/hooks/pubspec.yaml b/pkgs/hooks/pubspec.yaml
index f4a4dc5..2ae4ca5 100644
--- a/pkgs/hooks/pubspec.yaml
+++ b/pkgs/hooks/pubspec.yaml
@@ -3,7 +3,7 @@
A library that contains a Dart API for the JSON-based protocol for
`hook/build.dart` and `hook/link.dart`.
-version: 0.20.0-wip
+version: 0.20.0
repository: https://github.com/dart-lang/native/tree/main/pkgs/hooks
@@ -29,7 +29,7 @@
dev_dependencies:
args: ^2.6.0
- code_assets: ^0.19.4-wip # Used for running tests with real asset types.
+ code_assets: ^0.19.4 # Used for running tests with real asset types.
custom_lint: ^0.7.5
dart_flutter_team_lints: ^3.5.2
data_assets: any # Used for running tests with real asset types.
diff --git a/pkgs/hooks_runner/CHANGELOG.md b/pkgs/hooks_runner/CHANGELOG.md
index fcdc76a..39af912 100644
--- a/pkgs/hooks_runner/CHANGELOG.md
+++ b/pkgs/hooks_runner/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 0.22.0-wip
+## 0.22.0
* Bump `package:hooks` to 0.20.0.
* Enable passing metadata from link hooks of a package to the link hooks in
diff --git a/pkgs/hooks_runner/pubspec.yaml b/pkgs/hooks_runner/pubspec.yaml
index 08a9ce2..dee62d1 100644
--- a/pkgs/hooks_runner/pubspec.yaml
+++ b/pkgs/hooks_runner/pubspec.yaml
@@ -2,7 +2,7 @@
description: >-
This package is the backend that invokes build hooks.
-version: 0.22.0-wip
+version: 0.22.0
repository: https://github.com/dart-lang/native/tree/main/pkgs/hooks_runner
@@ -12,12 +12,12 @@
sdk: '>=3.9.0-21.0.dev <4.0.0'
dependencies:
- code_assets: ^0.19.4-wip # Needed for OS for Target for KernelAssets.
+ code_assets: ^0.19.4 # Needed for OS for Target for KernelAssets.
collection: ^1.19.1
crypto: ^3.0.6
file: ^7.0.1
graphs: ^2.3.2
- hooks: ^0.20.0-wip
+ hooks: ^0.20.0
logging: ^1.3.0
meta: ^1.16.0
package_config: ^2.1.0
diff --git a/pkgs/native_toolchain_c/CHANGELOG.md b/pkgs/native_toolchain_c/CHANGELOG.md
index 7e1bd79..7dd6df9 100644
--- a/pkgs/native_toolchain_c/CHANGELOG.md
+++ b/pkgs/native_toolchain_c/CHANGELOG.md
@@ -1,6 +1,5 @@
-## 0.18.0-wip
+## 0.17.1
-- Bump `package:hooks` to 0.20.0.
- Bump `package:hooks` and `package:code_assets`to 0.20.0.
## 0.17.0
diff --git a/pkgs/native_toolchain_c/pubspec.yaml b/pkgs/native_toolchain_c/pubspec.yaml
index a1eb896..40b0897 100644
--- a/pkgs/native_toolchain_c/pubspec.yaml
+++ b/pkgs/native_toolchain_c/pubspec.yaml
@@ -1,7 +1,7 @@
name: native_toolchain_c
description: >-
A library to invoke the native C compiler installed on the host machine.
-version: 0.18.0-wip
+version: 0.18.0
repository: https://github.com/dart-lang/native/tree/main/pkgs/native_toolchain_c
topics:
@@ -17,9 +17,9 @@
sdk: '>=3.9.0-21.0.dev <4.0.0'
dependencies:
- code_assets: ^0.19.4-wip
+ code_assets: ^0.19.4
glob: ^2.1.1
- hooks: ^0.20.0-wip
+ hooks: ^0.20.0
logging: ^1.3.0
meta: ^1.16.0
pub_semver: ^2.2.0