Skip to content

Commit

Permalink
版本更新到 5.0.3,发布nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
gmf520 committed Mar 14, 2021
1 parent 2b0f5ee commit f2153aa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions build/OSharpNS.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>OSharpNS</id>
<version>5.0.3-preview228</version>
<version>5.0.3</version>
<title>OSharpFramework(.NETCoreApp3.1)</title>
<authors>柳柳软件(66soft.net)</authors>
<owners>LiuliuSoft nnc</owners>
Expand All @@ -16,11 +16,11 @@
<tags>osharp osharpns</tags>
<dependencies>
<group targetFramework=".NETCoreApp3.1">
<dependency id="OSharpNS.Core" version="5.0.3-preview228" />
<dependency id="OSharpNS.EntityFrameworkCore" version="5.0.3-preview228" />
<dependency id="OSharpNS.AutoMapper" version="5.0.3-preview228" />
<dependency id="OSharpNS.AspNetCore" version="5.0.3-preview228" />
<dependency id="OSharpNS.Log4Net" version="5.0.3-preview228" />
<dependency id="OSharpNS.Core" version="5.0.3" />
<dependency id="OSharpNS.EntityFrameworkCore" version="5.0.3" />
<dependency id="OSharpNS.AutoMapper" version="5.0.3" />
<dependency id="OSharpNS.AspNetCore" version="5.0.3" />
<dependency id="OSharpNS.Log4Net" version="5.0.3" />
</group>
</dependencies>
</metadata>
Expand Down
1 change: 1 addition & 0 deletions build/nuget-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ $props = @("OSharp", "OSharp.AspNetCore", "OSharp.Authorization.Datas", "OSharp.
foreach($prop in $props)
{
$path = ("../src/{0}/{0}.csproj" -f $prop)
dotnet build $path -c Release
dotnet pack $path -c Release --output $nupkgs
}

Expand Down
4 changes: 2 additions & 2 deletions build/version.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<VersionSuffix>-preview</VersionSuffix>
<VersionSuffixVersion>304</VersionSuffixVersion>
<Version>$(VersionMain).$(VersionPrefix)$(VersionSuffix)$(VersionSuffixVersion)</Version>
<!--<Version>$(VersionMain).$(VersionPrefix)</Version>-->
<AssemblyVersion>$(VersionMain).$(VersionPrefix)</AssemblyVersion>
<Version>$(VersionMain).$(VersionPrefix)</Version>
<!--<AssemblyVersion>$(VersionMain).$(VersionPrefix)</AssemblyVersion>-->
<FileVersion>$(VersionMain).$(VersionPrefix).$(VersionSuffixVersion)</FileVersion>
</PropertyGroup>
</Project>

0 comments on commit f2153aa

Please sign in to comment.