Skip to content

Commit 0dc2a4f

Browse files
committed
2.1.0 net8
1 parent f7d0024 commit 0dc2a4f

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

nuget/pack.ps1

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
1-
$nugetServer="https://www.nuget.org"
2-
if ($IsMacOS) {
3-
$msbuild = "msbuild"
4-
} else {
5-
$vswhere = 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe'
6-
$msbuild = & $vswhere -latest -products * -requires Microsoft.Component.MSBuild -property installationPath
7-
$msbuild = join-path $msbuild 'MSBuild\Current\Bin\MSBuild.exe'
8-
}
9-
$version="2.1.0"
101
$versionSuffix=""
112

123
#####################
134
#Build release config
145
cd $PSScriptRoot
156
del *.nupkg
16-
& $msbuild "../SQLite.Net.sln" /restore /p:Configuration=Release /p:Platform="Any CPU" /p:Version="$version" /p:VersionSuffix="$versionSuffix" /p:Deterministic=false /p:PackageOutputPath="$PSScriptRoot" --% /t:Clean;Build;Pack
7+
8+
& dotnet pack -c Release --version-suffix "$versionSuffix" ../src/SQLite.Net/SQLite.Net2.csproj -o .
9+
1710
if ($lastexitcode -ne 0) { exit $lastexitcode; }
1811

19-
nuget push "sqlite-net2.$version$versionSuffix.nupkg" -Source $nugetServer
20-
#copy "sqlite-net2.$version$versionSuffix.nupkg" "D:\repos\localnugets"
12+
dotnet nuget push "sqlite-net2.*$versionSuffix.nupkg"

src/SQLite.Net/SQLite.Net2.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@
1414

1515
<!-- nuget configurable properties -->
1616
<PropertyGroup>
17-
<Version>2.0.6</Version>
17+
<Version>2.1.0</Version>
1818
<VersionSuffix></VersionSuffix>
1919
<DefineConstants>$(DefineConstants);</DefineConstants>
20-
<NugetPackageId></NugetPackageId>
2120
</PropertyGroup>
2221

2322

0 commit comments

Comments
 (0)