发布之前清除
This commit is contained in:
parent
7612e38600
commit
779f725bcf
@ -1,4 +1,4 @@
|
||||
#! /bin/bash # employ bash shell
|
||||
#! /bin/bash
|
||||
cd ./bin/publish
|
||||
|
||||
# linux
|
||||
|
||||
@ -1,2 +1,4 @@
|
||||
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -r win-x64 -o ./bin/publish/win-x64
|
||||
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -r linux-x64 -o ./bin/publish/linux-x64
|
||||
set output=./bin/publish
|
||||
if exist "%output%" rd /S /Q "%output%"
|
||||
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -r win-x64 -o "%output%/win-x64"
|
||||
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -r linux-x64 -o "%output%/linux-x64"
|
||||
Loading…
Reference in New Issue
Block a user