Skip to content

Commit a745deb

Browse files
committed
don't hardcode the previous .net version
1 parent f2afc97 commit a745deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AutoMapper/ApiCompat/PreBuild.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ if($versionNumbers[1] -eq "0" -AND $versionNumbers[2] -eq "0")
1010
$oldVersion = $oldVersion.ToString() +".0.0"
1111
echo $oldVersion
1212
& ..\..\nuget install AutoMapper -Version $oldVersion -OutputDirectory ..\LastMajorVersionBinary
13-
& copy ..\LastMajorVersionBinary\AutoMapper.$oldVersion\lib\net6.0\AutoMapper.dll ..\LastMajorVersionBinary
13+
& copy ..\LastMajorVersionBinary\AutoMapper.$oldVersion\lib\net*.0\AutoMapper.dll ..\LastMajorVersionBinary

0 commit comments

Comments
 (0)