Skip to content

Commit

Permalink
Update nuget packages + prepare release (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminAtBillbee authored Apr 14, 2023
1 parent a4af0bf commit 3f13b92
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 22 deletions.
8 changes: 4 additions & 4 deletions Billbee.Api.Client.Demo/Billbee.Api.Client.Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<PackageVersion>2.4.1.0</PackageVersion>
<PackageVersion>2.4.2.0</PackageVersion>
<Title>Billbee.Api.Client.Demo</Title>
<Authors>Billbee GmbH</Authors>
<Copyright>Copyright©, 2022 by Billbee GmbH</Copyright>
<Copyright>Copyright©, 2023 by Billbee GmbH</Copyright>
<Company>Billbee GmbH</Company>
<AssemblyVersion>2.4.1.0</AssemblyVersion>
<FileVersion>2.4.1.0</FileVersion>
<AssemblyVersion>2.4.2.0</AssemblyVersion>
<FileVersion>2.4.2.0</FileVersion>
<Description>The Billbee API SDK for .Net</Description>
<RepositoryUrl>https://github.com/billbeeio/billbee-csharp-sdk</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
21 changes: 12 additions & 9 deletions Billbee.Api.Client.Test/Billbee.Api.Client.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,24 @@
<Nullable>enable</Nullable>
<Title>Billbee.Api.Client.Test</Title>
<Authors>Billbee GmbH</Authors>
<Copyright>Copyright©, 2022 by Billbee GmbH</Copyright>
<Copyright>Copyright©, 2023 by Billbee GmbH</Copyright>
<Company>Billbee GmbH</Company>
<AssemblyVersion>2.4.1.0</AssemblyVersion>
<FileVersion>2.4.1.0</FileVersion>
<AssemblyVersion>2.4.2.0</AssemblyVersion>
<FileVersion>2.4.2.0</FileVersion>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.3.2" />
<PackageReference Include="Moq" Version="4.18.1" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.8" />
<PackageReference Include="coverlet.collector" Version="3.1.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.3" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="MSTest.TestAdapter" Version="3.0.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.0.2" />
<PackageReference Include="coverlet.collector" Version="3.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ public static class IntegrationTestHelpers
{
private static ApiClient? _apiClient;

public static void CheckAccess(string testContextManagedType, string testContextManagedMethod)
public static void CheckAccess(string? testContextManagedType, string? testContextManagedMethod)
{
Assert.IsNotNull(testContextManagedType);
Assert.IsNotNull(testContextManagedMethod);
if (!IntegrationTestSettings.RunIntegrationTests)
{
Assert.Inconclusive(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void Shipment_ShipOrderWithLabel_IntegrationTest()
var testOrder = TestData.Order;
testOrder.Customer = customer;
Assert.IsNotNull(customerAddress.Id);
var address = new Address{ BillbeeId = customerAddress.Id.Value.ToString() };
var address = new Address{ BillbeeId = customerAddress.Id.Value };
testOrder.InvoiceAddress = address;
testOrder.ShippingAddress = address;

Expand Down
12 changes: 6 additions & 6 deletions Billbee.Api.Client/Billbee.Api.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageVersion>2.4.1.0</PackageVersion>
<PackageVersion>2.4.2.0</PackageVersion>
<Title>Billbee.Api.Client</Title>
<Authors>Billbee GmbH</Authors>
<Copyright>Copyright©, 2022 by Billbee GmbH</Copyright>
<Copyright>Copyright©, 2023 by Billbee GmbH</Copyright>
<Company>Billbee GmbH</Company>
<AssemblyVersion>2.4.1.0</AssemblyVersion>
<FileVersion>2.4.1.0</FileVersion>
<AssemblyVersion>2.4.2.0</AssemblyVersion>
<FileVersion>2.4.2.0</FileVersion>
<Description>Client SDK for the Billbee API</Description>
<RepositoryUrl>https://github.com/billbeeio/billbee-csharp-sdk</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand All @@ -21,8 +21,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="RestSharp" Version="106.12.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="RestSharp" Version="106.15.0" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To get an API key, send a mail to [[email protected]](mailto:[email protected]
Download this package and decompress the solution to a place of your choice.
If you don't want to compile by yourself, feel free, to use our NuGet package.
```Bash
PM> Install-Package Billbee.Api.Client -Version 2.4.1
PM> Install-Package Billbee.Api.Client -Version 2.4.2
```

## Official API Documentation
Expand Down

0 comments on commit 3f13b92

Please sign in to comment.