更新推包脚本,更新类库说明

pull/3/MERGE
zhontai 3 years ago
parent 2cf0c7df54
commit 22fa3e7020

@ -49,7 +49,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{4A1F23C8
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{A6C50476-5236-4FD3-8C29-6449494846C0}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{A6C50476-5236-4FD3-8C29-6449494846C0}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
build\common.props = build\common.props build\pkg.props = build\pkg.props
EndProjectSection EndProjectSection
EndProject EndProject
Global Global

@ -2,7 +2,11 @@
$buildFolder = (Get-Item -Path "./" -Verbose).FullName $buildFolder = (Get-Item -Path "./" -Verbose).FullName
$rootFolder = Join-Path $buildFolder "../" $rootFolder = Join-Path $buildFolder "../"
$apiKey = "" $apiKey = $args[0]
if ([System.String]::IsNullOrWhiteSpace($apiKey))
{
$apiKey = $env:NUGET_KEY
}
$sourceUrl = "http://localhost:5000/v3/index.json" $sourceUrl = "http://localhost:5000/v3/index.json"
Write-Host "buildFolder:" $buildFolder Write-Host "buildFolder:" $buildFolder
@ -40,7 +44,9 @@ $projects = (
"src\plates\ZhonTai.Plate.Personal\ZhonTai.Plate.Personnel.Domain", "src\plates\ZhonTai.Plate.Personal\ZhonTai.Plate.Personnel.Domain",
"src\plates\ZhonTai.Plate.Personal\ZhonTai.Plate.Personnel.HttpApi", "src\plates\ZhonTai.Plate.Personal\ZhonTai.Plate.Personnel.HttpApi",
"src\plates\ZhonTai.Plate.Personal\ZhonTai.Plate.Personnel.Repository", "src\plates\ZhonTai.Plate.Personal\ZhonTai.Plate.Personnel.Repository",
"src\plates\ZhonTai.Plate.Personal\ZhonTai.Plate.Personnel.Service" "src\plates\ZhonTai.Plate.Personal\ZhonTai.Plate.Personnel.Service",
"src\shared\ZhonTai.Common",
"src\shared\ZhonTai.Tools"
) )
Write-Host "dotnet pack -- start" Write-Host "dotnet pack -- start"

@ -0,0 +1,3 @@
<Project>
<Import Project="..\build\pkg.props" />
</Project>

@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(SolutionDir)\build\common.props"></Import>
<PropertyGroup> <PropertyGroup>
<Description>中台Admin后端实体库</Description> <Description>中台Admin后端Admin实体库</Description>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <Description>中台Admin后端Admin接口库</Description>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(SolutionDir)\build\common.props"></Import>
<PropertyGroup> <PropertyGroup>
<Description>中台Admin后端仓储库</Description> <Description>中台Admin后端Admin仓储库</Description>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<RootNamespace>ZhonTai.Plate.Admin.Service</RootNamespace> <RootNamespace>ZhonTai.Plate.Admin.Service</RootNamespace>

@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(SolutionDir)\build\common.props"></Import>
<PropertyGroup> <PropertyGroup>
<Description>中台Admin后端服务库</Description> <Description>中台Admin后端Admin服务库</Description>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(SolutionDir)\build\common.props"></Import>
<PropertyGroup> <PropertyGroup>
<Description>中台Admin后端实体库</Description> <Description>中台Admin后端人事实体库</Description>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <Description>中台Admin后端人事接口库</Description>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(SolutionDir)\build\common.props"></Import>
<PropertyGroup> <PropertyGroup>
<Description>中台Admin后端仓储库</Description> <Description>中台Admin后端人事仓储库</Description>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<RootNamespace>ZhonTai.Plate.Personnel.Service</RootNamespace> <RootNamespace>ZhonTai.Plate.Personnel.Service</RootNamespace>

@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(SolutionDir)\build\common.props"></Import>
<PropertyGroup> <PropertyGroup>
<Description>中台Admin后端服务库</Description> <Description>中台Admin后端人事服务库</Description>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(SolutionDir)\build\common.props"></Import>
<PropertyGroup> <PropertyGroup>
<Description>中台Admin后端通用库</Description> <Description>中台Admin后端通用库</Description>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

File diff suppressed because it is too large Load Diff

@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(SolutionDir)\build\common.props"></Import>
<PropertyGroup> <PropertyGroup>
<Description>中台Admin工具库</Description> <Description>中台Admin工具库</Description>
</PropertyGroup> </PropertyGroup>

@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>

@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>

Loading…
Cancel
Save