From b16c1d4e08de5d702c3dfaa00a00012fe19d6235 Mon Sep 17 00:00:00 2001 From: evanweible-wf Date: Thu, 13 Jun 2024 12:38:10 -0600 Subject: [PATCH 1/5] Add initial changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ab21b23 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.1 + +- Initial release. From e1fb79af753e80440cdf8e61af43b5eee7bcabe0 Mon Sep 17 00:00:00 2001 From: evanweible-wf Date: Thu, 13 Jun 2024 12:39:42 -0600 Subject: [PATCH 2/5] Add repository to pubspec --- pubspec.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 1152db3..01fe71d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,7 @@ name: dpx -description: Execute Dart package binaries version: 0.1.0 +description: Execute Dart package binaries +repository: https://github.com/Workiva/dpx environment: sdk: '>=2.19.0 <4.0.0' From cc2e5bfeb177d7c6c83b67b3dc5c8b36c4d64296 Mon Sep 17 00:00:00 2001 From: evanweible-wf Date: Thu, 13 Jun 2024 12:39:49 -0600 Subject: [PATCH 3/5] Update `dependency_validator` --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 01fe71d..61b62e2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -19,6 +19,6 @@ dependencies: yaml: ^3.1.2 dev_dependencies: - dependency_validator: ^3.2.3 + dependency_validator: ^4.1.0 lints: ^2.0.1 test: ^1.24.3 From f847f094c9534b3b208ffce896d49b0f5ea2ca35 Mon Sep 17 00:00:00 2001 From: evanweible-wf Date: Thu, 13 Jun 2024 14:54:45 -0600 Subject: [PATCH 4/5] Use `-wip` format to make `pub publish --dry-run` pass --- CHANGELOG.md | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab21b23..4cd10a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ -## 0.1.1 +## 0.1.0-wip - Initial release. diff --git a/pubspec.yaml b/pubspec.yaml index 61b62e2..6d65dc2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: dpx -version: 0.1.0 +version: 0.1.0-wip description: Execute Dart package binaries repository: https://github.com/Workiva/dpx From 29efdab00c0c86b0d5c5ac4cdd04d2be70756f6a Mon Sep 17 00:00:00 2001 From: evanweible-wf Date: Thu, 13 Jun 2024 14:55:23 -0600 Subject: [PATCH 5/5] Add `dart pub publish --dry-run` check --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 137a0e4..d3a0f34 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -50,3 +50,5 @@ jobs: run: dart format --output=none --set-exit-if-changed . - name: Tests run: dart test + - name: Publish dry-run + run: dart pub publish --dry-run