Skip to content

Commit bf43333

Browse files
🚀Production Release (v14.1.0) (#246)
* release: update version to v14.1.0 * release: create release notes for version v14.1.0 * release: improve release notes for version v14.1.0 * ci: update reusable workflows to latest version * ci: add missing env permission flag
1 parent 2c1314c commit bf43333

15 files changed

Lines changed: 160 additions & 149 deletions

.github/internal-cicd/scripts/release-notes-exist.ts

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

.github/workflows/add-item-to-project.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
- name: Add To Project
7070
env:
7171
REPO_OWNER: "${{ inputs.org-name }}"
72-
REPO_NAME: "${{ inputs.org-project-name }}"
73-
PROJECT_NAME: "${{ inputs.repo-name }}"
72+
REPO_NAME: "${{ inputs.repo-name }}"
73+
PROJECT_NAME: "${{ inputs.org-project-name }}"
7474
ISSUE_OR_PR_NUMBER: "${{ inputs.item-number }}"
7575
GITHUB_TOKEN: "${{ secrets.cicd-pat }}"
7676
run: |
@@ -82,4 +82,4 @@ jobs:
8282
8383
Write-Host "::notice::NuGet Package Check Script URL: $scriptUrl";
8484
85-
deno run --allow-net --allow-read "$scriptUrl";
85+
deno run -ERN "$scriptUrl";

.github/workflows/add-new-item-to-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
add_new_item_to_project:
3737
name: Add New Issue
3838
needs: item_number
39-
uses: KinsonDigital/Infrastructure/.github/workflows/add-item-to-project.yml@v14.0.0
39+
uses: KinsonDigital/Infrastructure/.github/workflows/add-item-to-project.yml@v14.1.0
4040
with:
4141
org-name: "${{ vars.ORGANIZATION_NAME }}"
4242
org-project-name: "${{ vars.ORG_PROJECT_NAME }}"

.github/workflows/build-csharp-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
resolve_proj_file_path:
9191
name: Resolving ${{ inputs.project-name }} Project File Path
9292
needs: print_validate_workflow
93-
uses: KinsonDigital/Infrastructure/.github/workflows/resolve-csharp-proj-file.yml@v14.0.0
93+
uses: KinsonDigital/Infrastructure/.github/workflows/resolve-csharp-proj-file.yml@v14.1.0
9494
with:
9595
project-name: ${{ inputs.project-name }}
9696
base-path: ${{ inputs.base-path }}

.github/workflows/dotnet-action-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
validate_version:
158158
name: Validate Version
159159
needs: [print_validate_workflow, validate_branch]
160-
uses: KinsonDigital/Infrastructure/.github/workflows/validate-csharp-version.yml@v14.0.0
160+
uses: KinsonDigital/Infrastructure/.github/workflows/validate-csharp-version.yml@v14.1.0
161161
with:
162162
project-name: "${{ inputs.project-name }}"
163163
release-type: "${{ inputs.release-type }}"
@@ -168,7 +168,7 @@ jobs:
168168
validate_tag:
169169
name: Validate Tag
170170
needs: validate_version
171-
uses: KinsonDigital/Infrastructure/.github/workflows/validate-tag.yml@v14.0.0
171+
uses: KinsonDigital/Infrastructure/.github/workflows/validate-tag.yml@v14.1.0
172172
with:
173173
project-name: "${{ inputs.project-name }}"
174174
release-type: "${{ inputs.release-type }}"
@@ -180,7 +180,7 @@ jobs:
180180
validate_sdk_setup:
181181
name: Validate SDK Setup
182182
needs: print_validate_workflow
183-
uses: KinsonDigital/Infrastructure/.github/workflows/validate-sdk-versions.yml@v14.0.0
183+
uses: KinsonDigital/Infrastructure/.github/workflows/validate-sdk-versions.yml@v14.1.0
184184
with:
185185
repo-name: "${{ inputs.project-name }}"
186186
secrets:
@@ -216,7 +216,7 @@ jobs:
216216
validate_github_release:
217217
name: GitHub Release Does Not Exist
218218
needs: validate_version
219-
uses: KinsonDigital/Infrastructure/.github/workflows/validate-github-release.yml@v14.0.0
219+
uses: KinsonDigital/Infrastructure/.github/workflows/validate-github-release.yml@v14.1.0
220220
with:
221221
project-name: "${{ inputs.project-name }}"
222222
version: "${{ needs.validate_version.outputs.version }}"
@@ -227,7 +227,7 @@ jobs:
227227
build_project:
228228
name: Build Main Project (${{ inputs.project-name }})
229229
needs: print_validate_workflow
230-
uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v14.0.0
230+
uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v14.1.0
231231
with:
232232
project-name: "${{ inputs.project-name }}"
233233
runs-on: "${{ inputs.runs-on }}"
@@ -240,7 +240,7 @@ jobs:
240240
run_tests:
241241
name: Run Tests
242242
needs: print_validate_workflow
243-
uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v14.0.0
243+
uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v14.1.0
244244
with:
245245
project-name: "${{ inputs.project-name }}Tests"
246246
runs-on: "${{ inputs.runs-on }}"

.github/workflows/dotnet-lib-release.yml

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ env:
9393
jobs:
9494
validate_version:
9595
name: Validate Version
96-
uses: KinsonDigital/Infrastructure/.github/workflows/validate-csharp-version.yml@v14.0.0
96+
uses: KinsonDigital/Infrastructure/.github/workflows/validate-csharp-version.yml@v14.1.0
9797
with:
9898
project-name: "${{ inputs.project-name }}"
9999
release-type: "${{ inputs.release-type }}"
@@ -106,6 +106,9 @@ jobs:
106106
needs: [validate_version]
107107
runs-on: ubuntu-latest
108108
steps:
109+
- name: Checkout Repository
110+
uses: actions/checkout@v4
111+
109112
- name: Set Up Deno
110113
uses: denoland/setup-deno@v2
111114
with:
@@ -139,7 +142,7 @@ jobs:
139142
continue-on-error: true
140143
env:
141144
RELEASE_TYPE: "${{ inputs.release-type }}"
142-
TAG_NAME: "${{ needs.validate_version.outputs.version }}"
145+
TAG_NAME: "v${{ needs.validate_version.outputs.version }}"
143146
GITHUB_TOKEN: "${{ secrets.cicd-pat }}"
144147
run: |
145148
$scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/validate-tag.ts";
@@ -163,17 +166,12 @@ jobs:
163166
id: release-notes-check
164167
continue-on-error: true
165168
env:
166-
TAG_NAME: "${{ needs.validate_version.outputs.version }}"
169+
TAG_NAME: "v${{ needs.validate_version.outputs.version }}"
167170
RELEASE_TYPE: "${{ inputs.release-type }}"
168171
run: |
169-
$baseDirPath = "${{ github.workspace }}";
170-
$scriptDirPath = ".github/cicd-scripts";
171-
$scriptFileName = "release-notes-exist.ts";
172-
$scriptFilePath = "$baseDirPath/$scriptDirPath/$scriptFileName";
172+
$scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/release-notes-exist.ts";
173173
174-
Write-Host "::notice::Release Notes Exist Script File Path: $scriptFilePath";
175-
176-
deno run -ER $scriptFilePath;
174+
deno run -ER "$scriptUrl";
177175
178176
- name: Package Does Not Exist
179177
id: package-check
@@ -190,29 +188,29 @@ jobs:
190188
id: milestone-exists-check
191189
continue-on-error: true
192190
env:
193-
MILESTONE_TITLE: "${{ needs.validate_version.outputs.version }}"
191+
MILESTONE_TITLE: "v${{ needs.validate_version.outputs.version }}"
194192
GITHUB_TOKEN: ${{ secrets.cicd-pat }}
195193
run: |
196-
$scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/nuget-pkg-does-not-exist.ts";
194+
$scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/milestone-exists.ts";
197195
198196
deno run -ERNS "$scriptUrl";
199197
200198
- name: Validate Milestone
201199
id: milestone-check
202200
env:
203-
MILESTONE_TITLE: "${{ needs.validate_version.outputs.version }}"
201+
MILESTONE_TITLE: "v${{ needs.validate_version.outputs.version }}"
204202
GITHUB_TOKEN: "${{ secrets.cicd-pat }}"
205203
continue-on-error: true
206204
run: |
207205
$scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/milestone-items-all-closed.ts";
208206
209-
deno run -EN "$scriptUrl";
207+
deno run -ERN "$scriptUrl";
210208
211209
- name: GitHub Release Does Not Exist
212210
id: github-release-check
213211
continue-on-error: true
214212
env:
215-
TAG_NAME: "${{ needs.validate_version.outputs.version }}"
213+
TAG_NAME: "v${{ needs.validate_version.outputs.version }}"
216214
GITHUB_TOKEN: "${{ secrets.cicd-pat }}"
217215
run: |
218216
$scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/github-release-does-not-exist.ts";
@@ -279,7 +277,7 @@ jobs:
279277
build_project:
280278
name: Build Main Project
281279
needs: [run_prerelease_validation]
282-
uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v14.0.0
280+
uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v14.1.0
283281
with:
284282
project-name: "${{ inputs.project-name }}"
285283
runs-on: "${{ inputs.runs-on }}"
@@ -292,7 +290,7 @@ jobs:
292290
run_tests:
293291
name: Run Tests
294292
needs: [run_prerelease_validation]
295-
uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v14.0.0
293+
uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v14.1.0
296294
with:
297295
project-name: "${{ inputs.project-name }}Tests"
298296
runs-on: "${{ inputs.runs-on }}"
@@ -362,12 +360,6 @@ jobs:
362360
--api-key ${{ secrets.nuget-org-api-key }} `
363361
--source https://api.nuget.org/v3/index.json;
364362
365-
# Push the symbol package
366-
dotnet nuget push `
367-
"${{ github.workspace }}/${{ vars.ORGANIZATION_NAME }}.${{ inputs.project-name }}.$version.snupkg" `
368-
--api-key ${{ secrets.nuget-org-api-key }} `
369-
--source https://api.nuget.org/v3/index.json;
370-
371363
- name: Get GitHub Workspace
372364
id: base-dir-path
373365
run: |

.github/workflows/run-csharp-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
resolve_proj_file_path:
9393
name: Resolving ${{ inputs.project-name }} Project File Path
9494
needs: print_validate_workflow
95-
uses: KinsonDigital/Infrastructure/.github/workflows/resolve-csharp-proj-file.yml@v14.0.0
95+
uses: KinsonDigital/Infrastructure/.github/workflows/resolve-csharp-proj-file.yml@v14.1.0
9696
with:
9797
project-name: ${{ inputs.project-name }}
9898
base-path: ${{ inputs.base-path }}

.github/workflows/sync-pr-to-issue.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
github.event_name == 'pull_request_target' &&
2121
!startsWith(github.head_ref, 'renovate/') &&
2222
github.head_ref != 'prev-release' && github.head_ref != 'prod-release'
23-
uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v14.0.0
23+
uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v14.1.0
2424
with:
2525
issue-or-pr-number: ${{ github.event.pull_request.number }}
2626
sync-type: initial
@@ -37,7 +37,7 @@ jobs:
3737
github.head_ref != 'prev-release' && github.head_ref != 'prod-release' &&
3838
github.event.issue.pull_request && github.event.issue.pull_request.url != null &&
3939
contains(github.event.comment.body, '[run-sync]')
40-
uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v14.0.0
40+
uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v14.1.0
4141
with:
4242
issue-or-pr-number: ${{ github.event.issue.number }}
4343
sync-type: manual

.github/workflows/validate-csharp-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ jobs:
9292
Write-Host "::notice::Validate DotNet Version Script URL: $scriptUrl";
9393
9494
# Set the output of this step
95-
"version=$releaseVersion" >> $env:GITHUB_OUTPUT;
95+
"version=${{ steps.get-version.outputs.version }}" >> $env:GITHUB_OUTPUT;
9696
9797
deno run -E "$scriptUrl";

.vscode/launch.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@
3535
"cwd": "${workspaceFolder}/cicd",
3636
"runtimeArgs": [
3737
"run",
38+
"-EN",
3839
"--inspect-wait",
39-
"--allow-all"
4040
],
41-
"args": [
42-
"Infrastructure",
43-
"24",
44-
"pr",
45-
"KD-Team",
46-
"${env:CICD_TOKEN}",
47-
],
41+
"env": {
42+
"REPO_OWNER": "KinsonDigital",
43+
"REPO_NAME": "Velaptor",
44+
"PROJECT_NAME": "KD-Team",
45+
"ISSUE_OR_PR_NUMBER": "1063",
46+
"GITHUB_TOKEN": "${env:CICD_TOKEN}",
47+
},
4848
"attachSimplePort": 9229,
4949
"windows": {
5050
"runtimeExecutable": "${userHome}/.deno/bin/deno.exe"

0 commit comments

Comments
 (0)