Skip to content

Commit

Permalink
Fixed release version retrieving
Browse files Browse the repository at this point in the history
  • Loading branch information
xperiandri committed Feb 15, 2024
1 parent 7585751 commit 14aa27a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<MicrosoftExtensionsVersion>7.0.*</MicrosoftExtensionsVersion>
<AspNetCoreVersion>7.0.*</AspNetCoreVersion>
<FsToolkitVersion>4.9.*</FsToolkitVersion>
<XUnitVersion>2.5.0</XUnitVersion>
<XUnitVersion>2.6.6</XUnitVersion>
<FAKEVersion>6.*</FAKEVersion>
</PropertyGroup>
<ItemGroup Label="Common">
Expand Down Expand Up @@ -45,7 +45,7 @@
<ItemGroup Label="Test platform">
<PackageReference Update="BenchmarkDotNet" Version="0.13.*" />
<PackageReference Update="BenchmarkDotNet.Annotations" Version="0.*" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.7.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Update="Microsoft.TestPlatform.TestHost" Version="17.7.*" />
<PackageReference Update="Microsoft.TestPlatform.ObjectModel" Version="17.7.*" />
<PackageReference Update="xunit" Version="$(XUnitVersion)" />
Expand All @@ -56,7 +56,7 @@
<PackageReference Update="xunit.extensibility.execution" Version="$(XUnitVersion)" />
<PackageReference Update="xunit.runner.console" Version="$(XUnitVersion)" />
<PackageReference Update="xunit.runner.utility" Version="$(XUnitVersion)" />
<PackageReference Update="xunit.runner.visualstudio" Version="$(XUnitVersion)" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.5.6" />
</ItemGroup>
<ItemGroup Label="Tests and Samples">
<PackageReference Update="CommandLineParser" Version="2.9.*" />
Expand Down

0 comments on commit 14aa27a

Please sign in to comment.