File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,10 @@ publish_dotnet_dependent() {
62
62
dotnet publish --configuration Release \
63
63
--self-contained false \
64
64
-p:PublishSingleFile=true \
65
+ -p:DebugType=None \
66
+ -p:DebugSymbols=false \
65
67
-o $outputDir
66
68
67
- echo " clear pdb files"
68
- rm -rf $outputDir /* .pdb
69
-
70
69
echo " zip files..."
71
70
cd $publishDir
72
71
zip -q -r bilibili-tool-pro-v$version -dotnet-dependent.zip ./dotnet-dependent/*
@@ -90,11 +89,10 @@ publish_self_contained() {
90
89
--runtime $runtime \
91
90
-p:PublishTrimmed=true \
92
91
-p:PublishSingleFile=true \
92
+ -p:DebugType=None \
93
+ -p:DebugSymbols=false \
93
94
-o $outputDir
94
95
95
- echo " clear pdb files"
96
- rm -rf $outputDir /* .pdb
97
-
98
96
echo " zip files..."
99
97
cd $publishDir
100
98
zip -q -r bilibili-tool-pro-v$version -$runtime .zip ./$runtime /*
You can’t perform that action at this time.
0 commit comments