mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
update<Build>: change publish batch command
This commit is contained in:
parent
d69db0289e
commit
3f7f180694
4 changed files with 8 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
[发行版](https://gitee.com/sourcegit/SourceGit/releases/)
|
||||
|
||||
1. `SourceGit.exe`为不包含`.NET 5.0`运行时的可执行文件。如果本机已有`.NET 5.0`可下载使用
|
||||
2. `SourceGit.zip`为`self-contained`包。包含了`.NET 5.0`运行时。
|
||||
2. `SourceGit.tar.gz`为`self-contained`包。包含了`.NET 5.0`运行时。
|
||||
|
||||
## 预览
|
||||
|
||||
|
|
|
@ -5,4 +5,7 @@ cd src
|
|||
dotnet publish -c Release -r win-x64 -o ..\publish\SourceGit\ -p:PublishSingleFile=true --self-contained=true
|
||||
dotnet publish -c Release -r win-x64 -o ..\publish\ -p:PublishSingleFile=true --self-contained=false
|
||||
|
||||
tar -C ..\publish -czvf ..\publish\SourceGit.tar.gz SourceGit\*.*
|
||||
rmdir /S /Q ..\publish\SourceGit
|
||||
|
||||
pause
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<AppContextSwitchOverrides value="Switch.System.Windows.DoNotScaleForDpiChanges=false" />
|
||||
</runtime>
|
||||
</configuration>
|
|
@ -16,4 +16,8 @@
|
|||
<RepositoryType>Public</RepositoryType>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DebugType>none</DebugType>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Loading…
Reference in a new issue