From d9dfe2c6152757072bf5096f6651c28ceba826e6 Mon Sep 17 00:00:00 2001 From: CalvinWilkinson Date: Thu, 29 Aug 2024 17:02:01 +0100 Subject: [PATCH 1/6] release: update version to v1.0.0-preview.5 --- deno.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deno.json b/deno.json index c44ba34..4bc66a6 100644 --- a/deno.json +++ b/deno.json @@ -1,5 +1,5 @@ { - "version": "v1.0.0-preview.4", + "version": "v1.0.0-preview.5", "tasks": { "check": "deno check **/*/*.ts", "tests": "deno test ./Tests/*Tests.ts", From 91e1f44a83c31228c25eec01a74e5adff4e6134c Mon Sep 17 00:00:00 2001 From: CalvinWilkinson Date: Thu, 29 Aug 2024 17:02:14 +0100 Subject: [PATCH 2/6] release: create release notes for version v1.0.0-preview.5 --- .../preview-releases/v1.0.0-preview.5.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 release-notes/preview-releases/v1.0.0-preview.5.md diff --git a/release-notes/preview-releases/v1.0.0-preview.5.md b/release-notes/preview-releases/v1.0.0-preview.5.md new file mode 100644 index 0000000..4ffbc23 --- /dev/null +++ b/release-notes/preview-releases/v1.0.0-preview.5.md @@ -0,0 +1,27 @@ +

+kd-admin ${RELEASETYPE} Release Notes - v1.0.0-preview.5 +

+ +

Quick Reminder

+ +
+ +As with all software, there is always a chance for issues and bugs, especially for preview releases, so your input is greatly appreciated. 🙏🏼 +
+ +

New Features ✨

+ +1. [#45](https://github.com/KinsonDigital/kd-admin/issues/45) - Added release notes prefix setting. + +

Enhancements 💎

+ +1. [#44](https://github.com/KinsonDigital/kd-admin/issues/44) - Improved logging. +2. [#43](https://github.com/KinsonDigital/kd-admin/issues/43) - Added no lock option to install process. + +

Bug Fixes 🐛

+ +1. [#44](https://github.com/KinsonDigital/kd-admin/issues/44) - Improved logging. + +

Dependency Updates 📦

+ +1. [#46](https://github.com/KinsonDigital/kd-admin/pull/46) - Added release notes prefix setting. From 7b8a5b6b3c15935ebd74c3540bbd863690c4db32 Mon Sep 17 00:00:00 2001 From: CalvinWilkinson Date: Thu, 29 Aug 2024 17:19:05 +0100 Subject: [PATCH 3/6] release: improve release notes --- .../Release-Notes-v1.0.0-preview.5.md | 35 +++++++++++++++++++ .../preview-releases/v1.0.0-preview.5.md | 27 -------------- 2 files changed, 35 insertions(+), 27 deletions(-) create mode 100644 release-notes/preview-releases/Release-Notes-v1.0.0-preview.5.md delete mode 100644 release-notes/preview-releases/v1.0.0-preview.5.md diff --git a/release-notes/preview-releases/Release-Notes-v1.0.0-preview.5.md b/release-notes/preview-releases/Release-Notes-v1.0.0-preview.5.md new file mode 100644 index 0000000..90f1404 --- /dev/null +++ b/release-notes/preview-releases/Release-Notes-v1.0.0-preview.5.md @@ -0,0 +1,35 @@ +

+kd-admin ${RELEASETYPE} Release Notes - v1.0.0-preview.5 +

+ +

Quick Reminder

+ +
+ +As with all software, there is always a chance for issues and bugs, especially for preview releases, so your input is greatly appreciated. 🙏🏼 +
+ +

New Features ✨

+ +1. [#45](https://github.com/KinsonDigital/kd-admin/issues/45) - Added a new setting to the prepare release process to prefix release notes files with a value. +> [!Note] +> The name of this setting is `releaseNotesFilePrefix` and is used in the _**prepare-release-settings.json**_ config file. + +

Enhancements 💎

+ +1. [#44](https://github.com/KinsonDigital/kd-admin/issues/44) - Improved the error log message when a file version key with value cannot be found. +2. [#43](https://github.com/KinsonDigital/kd-admin/issues/43) - Added the `--no-lock` option to install process to prevent accidental manipulation of _**deno.lock**_ files deno projects when installing the tool. + +

Bug Fixes 🐛

+ +1. [#44](https://github.com/KinsonDigital/kd-admin/issues/44) - Fixed a bug where when the error logs are incorrect when a GitHub user name is invalid. + +

Dependency Updates 📦

+ +1. [#46](https://github.com/KinsonDigital/kd-admin/pull/46) - Updated the deno `toText` function to version _**0.224.0**_. + +

Other 🪧

+ +1. [#45](https://github.com/KinsonDigital/kd-admin/issues/45) - Updated the deno _**v1.x.x**_ style of permissions to the _**v1.46.x**_ style of permissions in all workflows. +2. [#45](https://github.com/KinsonDigital/kd-admin/issues/45) - Updated the build status check and release workflows to use the new enhanced `deno check` command release in deno version _**v1.46.x**_. +3. [#44](https://github.com/KinsonDigital/kd-admin/issues/44) - Fixed an issue with the if logic for the jobs in the _**sync-pr-to-issue.yml**_ workflow, preventing regular feature branch PRs from running issues to PR syncs. diff --git a/release-notes/preview-releases/v1.0.0-preview.5.md b/release-notes/preview-releases/v1.0.0-preview.5.md deleted file mode 100644 index 4ffbc23..0000000 --- a/release-notes/preview-releases/v1.0.0-preview.5.md +++ /dev/null @@ -1,27 +0,0 @@ -

-kd-admin ${RELEASETYPE} Release Notes - v1.0.0-preview.5 -

- -

Quick Reminder

- -
- -As with all software, there is always a chance for issues and bugs, especially for preview releases, so your input is greatly appreciated. 🙏🏼 -
- -

New Features ✨

- -1. [#45](https://github.com/KinsonDigital/kd-admin/issues/45) - Added release notes prefix setting. - -

Enhancements 💎

- -1. [#44](https://github.com/KinsonDigital/kd-admin/issues/44) - Improved logging. -2. [#43](https://github.com/KinsonDigital/kd-admin/issues/43) - Added no lock option to install process. - -

Bug Fixes 🐛

- -1. [#44](https://github.com/KinsonDigital/kd-admin/issues/44) - Improved logging. - -

Dependency Updates 📦

- -1. [#46](https://github.com/KinsonDigital/kd-admin/pull/46) - Added release notes prefix setting. From 125cc8c2a871379d05f8559d5a85e89b08b70cc3 Mon Sep 17 00:00:00 2001 From: CalvinWilkinson Date: Thu, 29 Aug 2024 17:19:44 +0100 Subject: [PATCH 4/6] config: add other category to the prep release configs --- dev-tools/prev-gen-release-notes-settings.json | 3 ++- dev-tools/prod-gen-release-notes-settings.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-tools/prev-gen-release-notes-settings.json b/dev-tools/prev-gen-release-notes-settings.json index e5baba9..9dfce66 100644 --- a/dev-tools/prev-gen-release-notes-settings.json +++ b/dev-tools/prev-gen-release-notes-settings.json @@ -16,7 +16,8 @@ "Enhancements 💎": "💎enhancement", "Bug Fixes 🐛": "🐛bug", "Breaking Changes 🧨": "🧨breaking-changes", - "Dependency Updates 📦": "📦dependency-update" + "Dependency Updates 📦": "📦dependency-update", + "Other 🪧": "♻️cicd" }, "prCategoryLabelMappings": { "Dependency Updates 📦": "📦dependency-update" diff --git a/dev-tools/prod-gen-release-notes-settings.json b/dev-tools/prod-gen-release-notes-settings.json index 03a0402..208f20f 100644 --- a/dev-tools/prod-gen-release-notes-settings.json +++ b/dev-tools/prod-gen-release-notes-settings.json @@ -12,7 +12,8 @@ "Enhancements 💎": "💎enhancement", "Bug Fixes 🐛": "🐛bug", "Breaking Changes 🧨": "🧨breaking-changes", - "Dependency Updates 📦": "📦dependency-update" + "Dependency Updates 📦": "📦dependency-update", + "Other 🪧": "♻️cicd" }, "prCategoryLabelMappings": { "Dependency Updates 📦": "📦dependency-update" From 69c2a44ca4b58b59050739539c7bfdb8e3febb9d Mon Sep 17 00:00:00 2001 From: CalvinWilkinson Date: Thu, 29 Aug 2024 17:20:14 +0100 Subject: [PATCH 5/6] config: update kd-admin dev tool to newest upcoming version and set new setting --- dev-tools/bin/kd-admin | 2 +- dev-tools/bin/kd-admin.cmd | 2 +- dev-tools/prepare-release-settings.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-tools/bin/kd-admin b/dev-tools/bin/kd-admin index b873db2..ef58f04 100644 --- a/dev-tools/bin/kd-admin +++ b/dev-tools/bin/kd-admin @@ -1,3 +1,3 @@ #!/bin/sh # generated by deno install -deno "run" "--allow-read" "--allow-write" "--allow-net" "--allow-env" "--allow-run" "--no-config" "https://raw.githubusercontent.com/KinsonDigital/kd-admin/v1.0.0-preview.3/src/main.ts" "$@" +deno "run" "-R" "-W" "-N" "-E" "--allow-run" "--no-lock" "--no-config" "https://raw.githubusercontent.com/KinsonDigital/kd-admin/v1.0.0-preview.5/src/main.ts" "$@" diff --git a/dev-tools/bin/kd-admin.cmd b/dev-tools/bin/kd-admin.cmd index 8e3eaf4..c8f2819 100644 --- a/dev-tools/bin/kd-admin.cmd +++ b/dev-tools/bin/kd-admin.cmd @@ -1,2 +1,2 @@ % generated by deno install % -@deno "run" "--allow-read" "--allow-write" "--allow-net" "--allow-env" "--allow-run" "--no-config" "https://raw.githubusercontent.com/KinsonDigital/kd-admin/v1.0.0-preview.3/src/main.ts" %* +@deno "run" "-R" "-W" "-N" "-E" "--allow-run" "--no-lock" "--no-config" "https://raw.githubusercontent.com/KinsonDigital/kd-admin/v1.0.0-preview.5/src/main.ts" %* diff --git a/dev-tools/prepare-release-settings.json b/dev-tools/prepare-release-settings.json index 64c328b..03fb3d6 100644 --- a/dev-tools/prepare-release-settings.json +++ b/dev-tools/prepare-release-settings.json @@ -34,5 +34,6 @@ } ], "githubTokenEnvVarName": "CICD_TOKEN", - "versionFilePath": "./deno.json" + "versionFilePath": "./deno.json", + "releaseNotesFilePrefix": "Release-Notes-" } From f325598137ac678a5edcd382b698c466617d6f31 Mon Sep 17 00:00:00 2001 From: CalvinWilkinson Date: Thu, 29 Aug 2024 17:20:22 +0100 Subject: [PATCH 6/6] ide: add word to dictionary --- .vscode/settings.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3a58ae3..f05f099 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,6 +3,7 @@ "aarch", "CASL", "cicd", + "deno", "freetypesharp", "imagesharp", "kdcli",