From 5226254a8ec996c03f71f44ead729d39a1818804 Mon Sep 17 00:00:00 2001 From: Maksim Stepanov <17935127+delatrie@users.noreply.github.com> Date: Sat, 23 Mar 2024 06:15:03 +0700 Subject: [PATCH] Update links to release notes at release --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ace6b8b..42d09deb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,6 +67,10 @@ jobs: cat ./Allure.Features/allureConfig.json sed -i -e '/"$schema"/s|/allure-csharp/[^/]*|/allure-csharp/${{ env.release_version }}|g' ./Allure.SpecFlowPlugin.Tests/allureConfig.json cat ./Allure.SpecFlowPlugin.Tests/allureConfig.json + - name: "Update release notes link" + run: | + sed -i -e '//,/<\/PackageReleaseNotes>/ s|/allure-csharp/releases/tag/.*\.|/allure-csharp/releases/tag/${{ inputs.nextVersion }}.|g' ./Directory.Build.props + cat ./Directory.Build.props - name: "Commit release version and create tag" run: | git commit -am "release ${{ env.release_version }}"