Skip to content

Commit

Permalink
Corrected script.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Dec 21, 2024
1 parent 50205b5 commit 493c5b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publish/publish.library.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ param (
function createMagickNetLibraryNuGetPackage($library, $version, $commit) {
$xml = loadAndInitNuSpec $library $version $commit

if ($library -eq "Magick.NET.SystemWindowsMedia" -or $library -eq "Magick.NET.AvaloniaMediaImaging") {
if ($library -eq "Magick.NET.SystemWindowsMedia") {
addLibrary $xml $library "" "AnyCPU" "net8.0"
} elseif ($library -eq "Magick.NET.SystemDrawing") {
addLibrary $xml $library "" "AnyCPU" "net462"
addLibrary $xml $library "" "AnyCPU" "netstandard20"
addLibrary $xml $library "" "AnyCPU" "net8.0"
} else if ($library -eq "Magick.NET.AvaloniaMediaImaging") {
} elseif ($library -eq "Magick.NET.AvaloniaMediaImaging") {
addLibrary $xml $library "" "AnyCPU" "net8.0"
} else {
addLibrary $xml $library "" "AnyCPU" "netstandard20"
Expand Down

0 comments on commit 493c5b2

Please sign in to comment.