mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 10:59:31 +08:00
添加发布脚本
This commit is contained in:
parent
ada68b1809
commit
e69df9665e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,3 +6,4 @@ obj
|
||||||
/FastTunnel.Client/Properties/PublishProfiles/*.user
|
/FastTunnel.Client/Properties/PublishProfiles/*.user
|
||||||
/FastTunnel.Server/Properties/PublishProfiles/*.user
|
/FastTunnel.Server/Properties/PublishProfiles/*.user
|
||||||
/FastTunnel.Client/Properties/PublishProfiles/*.pubxml
|
/FastTunnel.Client/Properties/PublishProfiles/*.pubxml
|
||||||
|
publish
|
||||||
|
|
9
publish.cmd
Normal file
9
publish.cmd
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
for /d %%p in (FastTunnel.Client,FastTunnel.Server) do (
|
||||||
|
CD ./%%p & for %%I in (win-x64,osx-x64,linux-x64) do (
|
||||||
|
dotnet publish -o=../publish/%%p.%%I -c=release -f=netcoreapp3.1 -r=%%I --self-contained
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
pause
|
Loading…
Reference in New Issue
Block a user