Skip to content

Commit fbbe1db

Browse files
🚀Production Release (v14.0.0) (#241)
* release: update version to v14.0.0 * release: create release notes for version v14.0.0 * release: improve release notes for version v14.0.0 * config: add mappings and fix word replacement in release prep configs * ide: add word to dictionary * ci: improve sdk version validation
1 parent f4afdd6 commit fbbe1db

7 files changed

Lines changed: 62 additions & 7 deletions

File tree

.github/workflows/validate-sdk-versions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646

4747
- name: Validate SDK Versions
4848
env:
49-
BASE_SEARCH_DIR_PATHL: "${{ github.workspace }}"
50-
NET_SDK_VERSIONL: "${{ vars.NET_SDK_VERSION }}"
49+
BASE_SEARCH_DIR_PATH: "${{ github.workspace }}"
50+
NET_SDK_VERSION: "${{ vars.NET_SDK_VERSION }}"
5151
run: |
5252
# Construct the URL to the organizations CICD scripts
5353
$scriptUrl = "${{ vars.SCRIPT_BASE_URL }}/${{ vars.CICD_SCRIPTS_VERSION }}/${{ vars.SCRIPT_RELATIVE_DIR_PATH }}";

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"Creds",
99
"endgroup",
1010
"flatcontainer",
11+
"kdadmin",
1112
"Kinson",
1213
"mediumseagreen",
1314
"Nums",
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<h1 align="center" style="color: mediumseagreen;font-weight: bold;">
2+
Infrastructure Production Release Notes - v14.0.0
3+
</h1>
4+
5+
<h2 align="center" style="font-weight: bold;">Enhancements 💎</h2>
6+
7+
1. [#233](https://github.com/KinsonDigital/Infrastructure/issues/233) - Updated the dotnet lib reusable release workflow to include debug symbols.
8+
9+
<h2 align="center" style="font-weight: bold;">Bug Fixes 🐛</h2>
10+
11+
1. [#226](https://github.com/KinsonDigital/Infrastructure/issues/226) - Fixed an issue with PR descriptions during the initial sync process.
12+
13+
<h2 align="center" style="font-weight: bold;">Breaking Changes 🧨</h2>
14+
15+
1. [#213](https://github.com/KinsonDigital/Infrastructure/issues/213) - Improved security by doing the following:
16+
- Removed all code related to printing out script arguments to the console.
17+
- Replaced all script arguments with environment variables.
18+
19+
<h2 align="center" style="font-weight: bold;">Technical Debt 🧽</h2>
20+
21+
1. [#213](https://github.com/KinsonDigital/Infrastructure/issues/213) - Renamed the _**validate-sdk-setup.yml**_ workflow to _**validate-sdk-versions.yml**_.
22+
- This will require updating all reusable workflow references in the project that point to this workflow.
23+
2. [#221](https://github.com/KinsonDigital/Infrastructure/issues/221) - Removed the prepare release process.
24+
3. [#218](https://github.com/KinsonDigital/Infrastructure/issues/218) - Improved the create script job in the _**resolve-csharp-proj-file.yml**_ workflow.
25+
26+
<h2 align="center" style="font-weight: bold;">CICD ⚙️</h2>
27+
28+
1. [#225](https://github.com/KinsonDigital/Infrastructure/issues/225) - Changed the dotnet lib release workflow input with the name `release-notes-file-name-prefix` to optional.
29+
2. [#222](https://github.com/KinsonDigital/Infrastructure/issues/222) - Changed the dotnet action release workflow input with the name `release-notes-file-name-prefix` to optional.
30+
3. [#222](https://github.com/KinsonDigital/Infrastructure/issues/222) - Improved the create GitHub release step in the _**dotnet-action-release.yml**_ and _**dotnet-lib-release.yml**_ workflows.
31+
4. [#218](https://github.com/KinsonDigital/Infrastructure/issues/218) - Added trimming to various repo variables to reduce accidental breaking of workflows.
32+
5. [#201](https://github.com/KinsonDigital/Infrastructure/issues/201) - Created a release workflow.
33+
34+
<h2 align="center" style="font-weight: bold;">Configuration 🛠️</h2>
35+
36+
1. [#223](https://github.com/KinsonDigital/Infrastructure/issues/223) - Setup the [kdadmin](https://github.com/kinsondigital/kd-admin) dev tool.

cicd/core/Services/ValidateSDKVersionService.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,18 @@ export class ValidateSDKVersionService {
1919
public validate(searchBaseDirPath: string, expectedSdkVersion: string): void {
2020
Guard.isNothing(expectedSdkVersion, "validate");
2121

22+
expectedSdkVersion = expectedSdkVersion.trim().toLowerCase();
2223
expectedSdkVersion = expectedSdkVersion.startsWith("v") ? expectedSdkVersion.substring(1) : expectedSdkVersion;
2324

25+
let sections = expectedSdkVersion.split(".");
26+
27+
if (sections.length >= 3) {
28+
sections = [sections[0], sections[1]];
29+
}
30+
31+
// Remove any x's from the version string
32+
expectedSdkVersion = sections.filter((s) => s != "x").join(".");
33+
2434
if (!this.dotnetSDKVersionRegex.test(expectedSdkVersion.trim().toLowerCase())) {
2535
Utils.printAsGitHubError(`The NET_SDK_VERSION variable is not a valid dotnet version: ${expectedSdkVersion}`);
2636
Deno.exit(1);

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "v13.6.3",
2+
"version": "v14.0.0",
33
"tasks": {
44
"check": "deno check ./**/*.ts",
55
"lint": "deno lint ./**/*.ts",

dev-tools/prev-gen-release-notes-settings.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
"Enhancements 💎": "💎enhancement",
2424
"Bug Fixes 🐛": "🐛bug",
2525
"Breaking Changes 🧨": "🧨breaking-changes",
26-
"Dependency Updates 📦": "📦dependency-update"
26+
"Dependency Updates 📦": "📦dependency-update",
27+
"Technical Debt 🧽": "tech-debt",
28+
"CICD ⚙️": "cicd",
29+
"Configuration 🛠️": "⚙️config",
30+
"Security 🛡️": "🛡️security"
2731
},
2832
"prCategoryLabelMappings": {
2933
"Dependency Updates 📦": "📦dependency-update"
@@ -42,7 +46,7 @@
4246
"Upgrade": "Upgraded",
4347
"Create": "Created",
4448
"Refactor": "Refactored",
45-
"Removed": "Removed",
49+
"Remove": "Removed",
4650
"Implement": "Implemented",
4751
"Move": "Moved",
4852
"Change": "Changed",

dev-tools/prod-gen-release-notes-settings.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@
1919
"Enhancements 💎": "💎enhancement",
2020
"Bug Fixes 🐛": "🐛bug",
2121
"Breaking Changes 🧨": "🧨breaking-changes",
22-
"Dependency Updates 📦": "📦dependency-update"
22+
"Dependency Updates 📦": "📦dependency-update",
23+
"Technical Debt 🧽": "tech-debt",
24+
"CICD ⚙️": "cicd",
25+
"Configuration 🛠️": "⚙️config",
26+
"Security 🛡️": "🛡️security"
2327
},
2428
"prCategoryLabelMappings": {
2529
"Dependency Updates 📦": "📦dependency-update"
@@ -38,7 +42,7 @@
3842
"Upgrade": "Upgraded",
3943
"Create": "Created",
4044
"Refactor": "Refactored",
41-
"Removed": "Removed",
45+
"Remove": "Removed",
4246
"Implement": "Implemented",
4347
"Move": "Moved",
4448
"Change": "Changed",

0 commit comments

Comments
 (0)