Bump version to 0.0.12 and add target for pushing NuGet package to FourSat

This commit is contained in:
masoodafar-web
2025-11-20 18:16:35 +03:30
parent baa0c1449c
commit 9bc5ebee20

View File

@@ -3,7 +3,7 @@
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<Version>0.0.11</Version> <Version>0.0.12</Version>
<PackageId>FrontOffice.BFF.ShopingCart.Protobuf</PackageId> <PackageId>FrontOffice.BFF.ShopingCart.Protobuf</PackageId>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild> <GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<DebugSymbols>False</DebugSymbols> <DebugSymbols>False</DebugSymbols>
@@ -22,4 +22,13 @@
<ItemGroup> <ItemGroup>
<Protobuf Include="Protos\shopingcart.proto" ProtoRoot="Protos\" GrpcServices="Both" /> <Protobuf Include="Protos\shopingcart.proto" ProtoRoot="Protos\" GrpcServices="Both" />
</ItemGroup> </ItemGroup>
<Target Name="PushToFoursatNuget" AfterTargets="Pack">
<PropertyGroup>
<NugetPackagePath>$(PackageOutputPath)$(PackageId).$(Version).nupkg</NugetPackagePath>
<PushCommand>dotnet nuget push **/*.nupkg --source https://git.afrino.co/api/packages/FourSat/nuget/index.json --api-key 061a5cb15517c6da39c16cfce8556c55ae104d0d --skip-duplicate &amp;&amp; del "$(NugetPackagePath)"</PushCommand>
</PropertyGroup>
<Exec Command="$(PushCommand)" />
</Target>
</Project> </Project>