diff --git a/.github/workflows/nuget-package-template.yml b/.github/workflows/nuget-package-template.yml index 0cad8c9..6cfda1c 100644 --- a/.github/workflows/nuget-package-template.yml +++ b/.github/workflows/nuget-package-template.yml @@ -108,7 +108,7 @@ jobs: id: extract_description run: | # Extracts multiline release-note between (%release-note: and %) - DESCRIPTION=$(git log -1 --pretty=format:"%b" | grep -oP '(?<=\(%release-note: ?).*?(?= ?%\))') + DESCRIPTION=$(git log -1 --pretty=format:"%b" | sed -n 's/.*(%release-note:*\([^%]*\) *%).*/\1/p') if [[ -z "$DESCRIPTION" ]]; then DESCRIPTION="No release notes provided." diff --git a/src/DfE.CoreLibs.Caching/readme.md b/src/DfE.CoreLibs.Caching/readme.md index a00da2c..3233aaa 100644 --- a/src/DfE.CoreLibs.Caching/readme.md +++ b/src/DfE.CoreLibs.Caching/readme.md @@ -23,6 +23,7 @@ dotnet add package DfE.CoreLibs.Caching } ``` + 2. **Usage in Handlers:** Here's an example of how caching is used in one of your query handlers: ```csharp