Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 44af45c

Browse files
committed
try nuget
1 parent 415f096 commit 44af45c

File tree

5 files changed

+18
-41
lines changed

5 files changed

+18
-41
lines changed

.github/workflows/dotnet.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: dotnet build --no-restore --configuration Debug
3636
- name: Test 3.1
3737
run: dotnet test Community.Data.OData.Linq.xTests --no-build --verbosity normal --configuration Debug
38-
nuget-alpha:
38+
nuget-rc:
3939
runs-on: ubuntu-latest
4040
if: github.ref == 'refs/heads/workflow'
4141
steps:
@@ -46,17 +46,13 @@ jobs:
4646
dotnet-version: 6.0.x
4747
- name: Restore dependencies
4848
run: dotnet restore
49-
- name: Build 6
49+
- name: Build
5050
run: dotnet build --no-restore --configuration Release
51-
- name: Pack Linq
52-
run: dotnet pack .\Community.Data.OData.Linq\Community.OData.Linq.csproj -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o .\nupkg
53-
- name: Pack Json
54-
run: dotnet pack .\Community.OData.Linq.Json\Community.OData.Linq.Json.csproj -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o .\nupkg
55-
- name: Pack AspNetCore
56-
run: dotnet pack .\Community.OData.Linq.AspNetCore\Community.OData.Linq.AspNetCore.csproj -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o .\nupkg
51+
- name: Pack
52+
run: dotnet pack -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:VersionPrefix=${{ github.run_number }}-rc -o .\nupkg
5753
- name: Push Linq
5854
run: echo ${{ github.run_number }}
5955
- name: Push Json
6056
run: echo ${{ secrets.ODATA_NUGET_KEY }}
6157
- name: Push AspNetCore
62-
run: echo ${{ github.run_number }}
58+
run: echo ${{ github.run_number }}

Community.Data.OData.Linq/Community.OData.Linq.csproj

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,10 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<SignAssembly>true</SignAssembly>
66
<AssemblyOriginatorKeyFile>sgn.snk</AssemblyOriginatorKeyFile>
7-
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
8-
<Authors>IharYakimush</Authors>
9-
<PackageLicenseUrl></PackageLicenseUrl>
10-
<PackageProjectUrl>https://github.com/IharYakimush/comminity-data-odata-linq</PackageProjectUrl>
11-
<RepositoryType></RepositoryType>
127
<PackageTags>odata filter linq netstandard</PackageTags>
138
<PackageReleaseNotes>Significant improvement in query initialization performance. Support ToArrayAsync(), ToListAsync(), and all other provider specific methods. More integration tests for Entity Framework and CosmosDb SQL API. Breaking Changes: net4.5 not suported anymore. Obsolete methods removed (.SelectExpandJsonToken() and .SelectExpandJson()). Setting for default timezone in case of converting DateTimeOffset to DateTime</PackageReleaseNotes>
149
<Description>Use OData filter text query in linq expresson for any IQuerable without ASP.NET dependency. Support netstandard2.0</Description>
15-
<Company />
16-
<RepositoryUrl></RepositoryUrl>
17-
<NeutralLanguage>en</NeutralLanguage>
18-
<PackageReadmeFile>README.md</PackageReadmeFile>
19-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10+
<IsPackable>true</IsPackable>
2011
</PropertyGroup>
2112

2213
<ItemGroup>

Community.OData.Linq.AspNetCore/Community.OData.Linq.AspNetCore.csproj

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,11 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<SignAssembly>true</SignAssembly>
6-
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
7-
<AssemblyOriginatorKeyFile>sgn.snk</AssemblyOriginatorKeyFile>
8-
<Authors>IharYakimush</Authors>
9-
<PackageLicenseUrl></PackageLicenseUrl>
10-
<PackageProjectUrl>https://github.com/IharYakimush/comminity-data-odata-linq</PackageProjectUrl>
6+
<AssemblyOriginatorKeyFile>sgn.snk</AssemblyOriginatorKeyFile>
117
<PackageTags>odata linq aspnetcore</PackageTags>
12-
<Description>OData linq for ASP.NET Core 2.0+</Description>
13-
<PackageReleaseNotes>Significant improvement in query initialization performance. Support ToArrayAsync(), ToListAsync(), and all other provider specific methods. More integration tests for Entity Framework and CosmosDb SQL API. Breaking Changes: net4.5 not suported anymore. Obsolete methods removed (.SelectExpandJsonToken() and .SelectExpandJson()). Setting for default timezone in case of converting DateTimeOffset to DateTime</PackageReleaseNotes>
14-
<Company />
15-
<RepositoryUrl></RepositoryUrl>
16-
<NeutralLanguage>en</NeutralLanguage>
17-
<PackageReadmeFile>README.md</PackageReadmeFile>
18-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
8+
<PackageReleaseNotes>Significant improvement in query initialization performance. Support ToArrayAsync(), ToListAsync(), and all other provider specific methods. More integration tests for Entity Framework and CosmosDb SQL API. Breaking Changes: net4.5 not suported anymore. Obsolete methods removed (.SelectExpandJsonToken() and .SelectExpandJson()). Setting for default timezone in case of converting DateTimeOffset to DateTime</PackageReleaseNotes>
9+
<Description>OData linq for ASP.NET Core 2.0+</Description>
10+
<IsPackable>true</IsPackable>
1911
</PropertyGroup>
2012

2113
<ItemGroup>

Community.OData.Linq.Json/Community.OData.Linq.Json.csproj

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,10 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<SignAssembly>true</SignAssembly>
66
<AssemblyOriginatorKeyFile>sgn.snk</AssemblyOriginatorKeyFile>
7-
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
8-
<Authors>IharYakimush</Authors>
9-
<PackageLicenseUrl></PackageLicenseUrl>
10-
<PackageProjectUrl>https://github.com/IharYakimush/comminity-data-odata-linq</PackageProjectUrl>
11-
<RepositoryType></RepositoryType>
127
<PackageTags>odata filter linq json</PackageTags>
138
<PackageReleaseNotes>Significant improvement in query initialization performance. Support ToArrayAsync(), ToListAsync(), and all other provider specific methods. More integration tests for Entity Framework and CosmosDb SQL API. Breaking Changes: net4.5 not suported anymore. Obsolete methods removed (.SelectExpandJsonToken() and .SelectExpandJson()). Setting for default timezone in case of converting DateTimeOffset to DateTime</PackageReleaseNotes>
149
<Description>Json serialization for SelectExpand result</Description>
15-
<Company />
16-
<RepositoryUrl></RepositoryUrl>
17-
<NeutralLanguage>en</NeutralLanguage>
18-
<PackageReadmeFile>README.md</PackageReadmeFile>
19-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10+
<IsPackable>true</IsPackable>
2011
</PropertyGroup>
2112

2213
<ItemGroup>

Directory.Build.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
<VersionPrefix>0</VersionPrefix>
44
<Version>2.1.$(VersionPrefix)</Version>
55
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
6+
<NeutralLanguage>en</NeutralLanguage>
7+
<PackageReadmeFile>README.md</PackageReadmeFile>
8+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
9+
<PackageProjectUrl>https://github.com/IharYakimush/comminity-data-odata-linq</PackageProjectUrl>
10+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
11+
<Authors>IharYakimush</Authors>
12+
<IsPackable>false</IsPackable>
613
</PropertyGroup>
714
</Project>
815

0 commit comments

Comments
 (0)