Skip to content

Commit

Permalink
Amended build scripts in order to provide symbol and source packages
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Jul 6, 2018
1 parent 0427656 commit ba0c277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ if ($Pack) {
$dropRootDirectory = Join-Path -Path $PSScriptRoot -ChildPath "drop"

if ($env:PreVersion) {
dotnet pack ./src -c Release -o $dropRootDirectory /p:PackageVersion=$env:Version /p:VersionPrefix=$env:VersionPrefix /p:VersionSuffix=$env:VersionSuffix
dotnet pack ./src -c Release -o $dropRootDirectory /p:PackageVersion=$env:Version /p:VersionPrefix=$env:VersionPrefix /p:VersionSuffix=$env:VersionSuffix --include-source --include-symbols
}
else {
dotnet pack ./src -c Release -o $dropRootDirectory /p:PackageVersion=$env:Version /p:VersionPrefix=$env:VersionPrefix
dotnet pack ./src -c Release -o $dropRootDirectory /p:PackageVersion=$env:Version /p:VersionPrefix=$env:VersionPrefix --include-source --include-symbols
}
}

0 comments on commit ba0c277

Please sign in to comment.