We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--version-suffix
1 parent d295247 commit 07fecc3Copy full SHA for 07fecc3
Build.ps1
@@ -24,7 +24,11 @@ foreach ($src in ls src/*) {
24
echo "build: Packaging project in $src"
25
26
& dotnet build -c Release --version-suffix=$buildSuffix
27
- & dotnet pack -c Release --include-symbols -o ..\..\artifacts --version-suffix=$suffix --no-build
+ if ($suffix) {
28
+ & dotnet pack -c Release --include-source -o ..\..\artifacts --version-suffix=$suffix --no-build
29
+ } else {
30
+ & dotnet pack -c Release --include-source -o ..\..\artifacts --no-build
31
+ }
32
if($LASTEXITCODE -ne 0) { exit 1 }
33
34
Pop-Location
@@ -41,4 +45,4 @@ foreach ($test in ls test/*.Tests) {
41
45
42
46
}
43
47
44
-Pop-Location
48
+Pop-Location
0 commit comments