Skip to content

Commit

Permalink
Publisher 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
SeriaWei committed Feb 26, 2018
1 parent 4b8113f commit 3f0f6c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ if($withRuntime.ToUpper() -eq "Y")
Write-Host "https://docs.microsoft.com/en-us/dotnet/core/rid-catalog"
Write-Host "常用运行时RID"
Write-Host "win7-x64,win10-x64,ubuntu.16.04-x64,centos.7-x64,osx.10.12-x64"
$rid = Read-Host -Prompt "请输入RID"
$rid = Read-Host -Prompt "请输入RID"
Invoke-Expression("dotnet restore")
Invoke-Expression("dotnet publish-zkeacms " + $rid)
}
else{
Invoke-Expression("dotnet restore")
Invoke-Expression("dotnet publish-zkeacms")
}
Write-Host "发布成功,正在运行程序"
Expand Down
2 changes: 1 addition & 1 deletion src/ZKEACMS.WebHost/ZKEACMS.WebHost.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</ItemGroup>

<ItemGroup>
<DotNetCliToolReference Include="ZKEACMS.Publisher" Version="1.0.2" />
<DotNetCliToolReference Include="ZKEACMS.Publisher" Version="1.0.4" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 3f0f6c8

Please sign in to comment.