File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
System.Text.Json.Extensions Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,12 @@ jobs:
3636 run : dotnet pack --configuration Release System.Text.Json.Extensions
3737 - name : Get Version
3838 id : get_version
39- shell : pwsh
4039 run : |
40+ Write-Host "name=packageAndVersion::$(Split-Path -Path $(Resolve-Path "System.Text.Json.Extensions/bin/Release/*.nupkg") -LeafBase)"
4141 Write-Host "::set-output name=packageAndVersion::$(Split-Path -Path $(Resolve-Path "System.Text.Json.Extensions/bin/Release/*.nupkg") -LeafBase)"
42+ Write-Host "name=version::$((Split-Path -Path $(Resolve-Path "System.Text.Json.Extensions/bin/Release/*.nupkg") -LeafBase) -replace '^.*?(\d.*)$','$1')"
4243 Write-Host "::set-output name=version::$((Split-Path -Path $(Resolve-Path "System.Text.Json.Extensions/bin/Release/*.nupkg") -LeafBase) -replace '^.*?(\d.*)$','$1')"
44+ shell : pwsh
4345 - uses : actions/upload-artifact@v2
4446 with :
4547 name : Dotnet ${{ matrix.dotnet }}
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <TargetFramework >netstandard2.1</TargetFramework >
55 <PackageId >System.Text.Json.Extensions</PackageId >
6- <Version >1.0.6 </Version >
6+ <Version >1.0.7 </Version >
77 <Authors >TheConstructor</Authors >
88 <PackageDescription >This package tries to collect some extensions and converters that ease the usage of System.Text.Json.</PackageDescription >
99 <RepositoryUrl >https://github.com/TheConstructor/System.Text.Json.Extensions</RepositoryUrl >
You can’t perform that action at this time.
0 commit comments