Skip to content

Commit c844475

Browse files
committed
Update GitVersion configuration and CI workflow
- Added regex patterns for branch names in .gitversion.yml to improve versioning accuracy. - Updated GitVersion action to version 3.1.11 and adjusted version specification to '6.0.x'. - Upgraded upload-artifact action to version 4.6.2 across multiple steps in ci.yml for enhanced functionality. - Documented changes in changelog.md for version 0.5.1, addressing vulnerabilities in .NET. Signed-off-by: Victor Chang <[email protected]>
1 parent 6a883a5 commit c844475

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.github/.gitversion.yml

+5
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,21 @@ mode: ContinuousDelivery
1919
branches:
2020
main:
2121
label: ''
22+
regex: ^main$
2223
release:
2324
label: rc
25+
regex: ^releases?[/-](?<BranchName>.+)
2426
develop:
2527
label: beta
2628
increment: Patch
29+
regex: ^develop$
2730
feature:
2831
label: alpha.{BranchName}
32+
regex: ^features?[/-](?<BranchName>.+)
2933
pull-request:
3034
label: pr
3135
increment: Patch
36+
regex: ^(pull|pull\-requests|pr)[/-]
3237

3338
ignore:
3439
sha: []

.github/workflows/ci.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ jobs:
5151
dotnet-version: "8.0.x"
5252

5353
- name: Setup GitVersion
54-
uses: gittools/actions/gitversion/[email protected].1
54+
uses: gittools/actions/gitversion/[email protected].11
5555
with:
56-
versionSpec: '6.0.5'
56+
versionSpec: '6.0.x'
5757

5858
- name: Determine Version
5959
id: gitversion
@@ -68,7 +68,7 @@ jobs:
6868
run: cat src/AssemblyInfo.cs
6969

7070
- name: Upload AssemblyInfo
71-
uses: actions/upload-artifact@v3.1.2
71+
uses: actions/upload-artifact@v4.6.2
7272
if: always()
7373
with:
7474
name: assembly-info
@@ -297,7 +297,7 @@ jobs:
297297
popd
298298
299299
- name: Upload Integration Test Results
300-
uses: actions/upload-artifact@v3.1.2
300+
uses: actions/upload-artifact@v4.6.2
301301
if: always()
302302
with:
303303
name: integration-${{ matrix.feature }}
@@ -386,7 +386,7 @@ jobs:
386386
dir -r ~/release
387387
388388
- name: Upload CLI
389-
uses: actions/upload-artifact@v3.1.2
389+
uses: actions/upload-artifact@v4.6.2
390390
with:
391391
name: artifacts
392392
path: ~/release
@@ -402,7 +402,7 @@ jobs:
402402

403403
- name: Upload Nuget
404404
if: ${{ matrix.os == 'ubuntu-latest' }}
405-
uses: actions/upload-artifact@v3.1.2
405+
uses: actions/upload-artifact@v4.6.2
406406
with:
407407
name: nuget
408408
path: ~/nupkg
@@ -529,7 +529,7 @@ jobs:
529529
Get-ChildItem ~\release -Recurse
530530
531531
- name: Upload docs
532-
uses: actions/upload-artifact@v3.1.2
532+
uses: actions/upload-artifact@v4.6.2
533533
with:
534534
name: artifacts
535535
path: ~/release

docs/changelog.md

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717

1818
# Changelog
1919

20+
## 0.5.1
21+
[GitHub Milestone 0.5.1](https://github.com/Project-MONAI/monai-deploy-informatics-gateway/milestone/30)
22+
23+
- gh-521 Address vulnerabilities in .NET (CVE-2024-38229, CVE-2024-35264)
24+
2025
## 0.5.0
2126
[GitHub Milestone 0.5.0](https://github.com/Project-MONAI/monai-deploy-informatics-gateway/milestone/4)
2227

0 commit comments

Comments
 (0)