publish 2.0.3

This commit is contained in:
springhgui 2021-10-29 23:35:03 +08:00
parent 29ff330c02
commit 05260cb5e8
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<PublishSingleFile>true</PublishSingleFile>
</PropertyGroup>
<ItemGroup>

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>2.0.2</Version>
<Version>2.0.3</Version>
<PackageProjectUrl>https://github.com/SpringHgui/FastTunnel</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>FastTunnel</Copyright>

View File

@ -1,7 +1,7 @@
#!/bin/bash
rm -rf publish/*
projects=("FastTunnel.Client" "FastTunnel.Server")
plates=("win-x64" "win-arm" "osx-x64" "linux-arm" "linux-x64")
plates=("win-x64" "win-x86" "win-arm" "win-arm64" "linux-x64" "linux-musl-x64" "linux-arm" "linux-arm64" "osx-x64")
for project in ${projects[*]}; do
echo
echo "=========开始发布:${project} ========="
@ -9,7 +9,7 @@ for project in ${projects[*]}; do
for plate in ${plates[*]}; do
echo "plate=${plate}"
echo src/$project/$project.csproj
dotnet publish $project/$project.csproj -o=publish/$project.$plate -c=release #-p:PublishTrimmed=true --nologo
dotnet publish $project/$project.csproj -o=publish/$project.$plate -r=$plate -c=release --nologo #-p:PublishTrimmed=true
echo
echo "=========开始打包 ========="
echo