From 14aa27a1140acf3ec9cc0df5a9b832f989dab5f7 Mon Sep 17 00:00:00 2001 From: Andrii Chebukin Date: Thu, 15 Feb 2024 23:44:20 +0400 Subject: [PATCH] Fixed release version retrieving --- .github/workflows/publish_release.yml | 2 +- Packages.props | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index c68567031..c893720be 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -18,7 +18,7 @@ jobs: - name: Set Build Version run: | - $version = "$env:GITHUB_REF_NAME" + $version = "$env:GITHUB_REF_NAME".Substring("releases/".Length) $File = ( Select-Xml -XPath "/Project/PropertyGroup[@Label='NuGet']/Version" -Path "Directory.Build.props" )[0].Node diff --git a/Packages.props b/Packages.props index f37d360ad..d218a4bdb 100644 --- a/Packages.props +++ b/Packages.props @@ -5,7 +5,7 @@ 7.0.* 7.0.* 4.9.* - 2.5.0 + 2.6.6 6.* @@ -45,7 +45,7 @@ - + @@ -56,7 +56,7 @@ - +