From 723992f221cc6dafea7d717c215416254bbf8f86 Mon Sep 17 00:00:00 2001 From: Ivar Nesje Date: Fri, 22 Nov 2024 13:37:52 +0100 Subject: [PATCH] Second try on publishing github release notes to nuget (#922) --- .github/workflows/publish-release.yml | 3 +-- src/Directory.Build.props | 11 +++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 70366fcd2..4086593e6 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -42,8 +42,7 @@ jobs: - name: Pack run: | dotnet pack AppLibDotnet.sln --configuration Release --no-restore --no-build \ - -p:Deterministic=true -p:BuildNumber=${{ github.run_number }} \ - -p:PackageReleaseNotes="$(cat RELEASE_NOTES.md)" + -p:Deterministic=true -p:BuildNumber=${{ github.run_number }} - name: Versions run: | dotnet --version diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 19c968229..07a6027ae 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -12,6 +12,15 @@ + + + + + + @(ReleaseNoteLines, '%0a') + + + Recommended enable @@ -23,13 +32,11 @@ v true - https://github.com/Altinn/app-lib-dotnet/releases Altinn Platform Contributors git https://github.com/Altinn/app-lib-dotnet README.md LICENSE - true true true