Skip to content

Commit

Permalink
chore: 发布 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jianxuanbing committed May 20, 2020
1 parent aa54365 commit 37d8eda
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
33 changes: 33 additions & 0 deletions Publish.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
@echo off

::create nuget_pub
if not exist nuget_pub (
md nuget_pub
)

::clear nuget_pub
for /R "nuget_pub" %%s in (*) do (
del %%s
)

::Bing.Offices
dotnet pack src/Bing.Offices.Abstractions -c Release -o nuget_pub
dotnet pack src/Bing.Offices.Core -c Release -o nuget_pub
dotnet pack src/Bing.Offices.Npoi -c Release -o nuget_pub

for /R "nuget_pub" %%s in (*symbols.nupkg) do (
del %%s
)

echo.
echo.

set /p key=input key:
set source=https://api.nuget.org/v3/index.json

for /R "nuget_pub" %%s in (*.nupkg) do (
call dotnet nuget push %%s -k %key% -s %source%
echo.
)

pause
2 changes: 1 addition & 1 deletion src/Bing.Offices.Core/Bing.Offices.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Bing是一个.net core平台下的应用框架,旨在于提升小型团队的
</ItemGroup>

<ItemGroup>
<PackageReference Include="Bing.Utils" Version="1.2.0-preview-20200206-1" />
<PackageReference Include="Bing.Utils" Version="1.2.0-preview-20200510-1" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Bing.Offices.Npoi/Bing.Offices.Npoi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Bing是一个.net core平台下的应用框架,旨在于提升小型团队的
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NPOI" Version="2.4.1" />
<PackageReference Include="NPOI" Version="2.5.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<VersionQuality>20200211-1</VersionQuality>
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
<!--<VersionSuffix></VersionSuffix>-->
<VersionSuffix>preview-$(VersionQuality)</VersionSuffix>
<!--<VersionSuffix>preview-$(VersionQuality)</VersionSuffix>-->
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 37d8eda

Please sign in to comment.