Update Build_mR-NB.yml

update action
This commit is contained in:
Dimitrij
2025-08-14 22:26:37 +01:00
committed by GitHub
parent 076db0637f
commit 4311d3b057

View File

@@ -66,7 +66,8 @@ jobs:
$version = "${{ steps.version.outputs.version }}"
$changelogPath = "$env:GITHUB_WORKSPACE\CHANGELOG.md"
$content = Get-Content $changelogPath -Raw
echo "Content: $content"
# Match the section for the current version
$pattern = "## \[$version\][^\#]+"
if ($content -match $pattern) {