Skip to content

Commit 5d22406

Browse files
committed
1.1.0 SourceLink setup, dependency update, readme added to nuget package
1 parent 1589394 commit 5d22406

File tree

6 files changed

+33
-16
lines changed

6 files changed

+33
-16
lines changed

BarionClient.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BarionClientLibrary.Tests",
1717
EndProject
1818
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BarionClientLibrary", "BarionClientLibrary\BarionClientLibrary.csproj", "{9246274C-FA2C-44AB-9584-6EE06FCC35CF}"
1919
EndProject
20-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BarionClientLibrary.EndToEndTests", "BarionClientLibrary.EndToEndTests\BarionClientLibrary.EndToEndTests.csproj", "{F1C09E19-1C64-44A5-B096-156AC790E3E3}"
20+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BarionClientLibrary.EndToEndTests", "BarionClientLibrary.EndToEndTests\BarionClientLibrary.EndToEndTests.csproj", "{F1C09E19-1C64-44A5-B096-156AC790E3E3}"
2121
EndProject
2222
Global
2323
GlobalSection(SolutionConfigurationPlatforms) = preSolution

BarionClientLibrary.EndToEndTests/BarionClientLibrary.EndToEndTests.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
13-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
15-
<PackageReference Include="Selenium.WebDriver" Version="4.14.0" />
16-
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="117.0.5938.14900" />
17-
<PackageReference Include="xunit" Version="2.5.1" />
18-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
12+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
13+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
15+
<PackageReference Include="Selenium.WebDriver" Version="4.16.2" />
16+
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="120.0.6099.10900" />
17+
<PackageReference Include="xunit" Version="2.6.3" />
18+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.5">
1919
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2020
<PrivateAssets>all</PrivateAssets>
2121
</PackageReference>

BarionClientLibrary.Tests/BarionClientLibrary.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
</ItemGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
29-
<PackageReference Include="xunit" Version="2.5.1" />
30-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
28+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
29+
<PackageReference Include="xunit" Version="2.6.3" />
30+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.5">
3131
<PrivateAssets>all</PrivateAssets>
3232
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3333
</PackageReference>

BarionClientLibrary/BarionClientLibrary.csproj

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,27 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<PackageId>BarionClient2</PackageId>
8-
<Version>1.0.1</Version>
8+
<Version>1.1.0</Version>
99
<Authors>Lajos Marton</Authors>
1010
<Product>Barion .Net SDK v2</Product>
1111
<Title>Barion Client v2</Title>
1212
<PackageTags>Barion Payment</PackageTags>
1313
<RepositoryType>git</RepositoryType>
1414
<RepositoryUrl>https://github.com/martonx/barion-dotnet-v2</RepositoryUrl>
15+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
16+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
17+
1518
<PackageLicenseExpression>MIT</PackageLicenseExpression>
19+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
20+
<PackageReadmeFile>README.md</PackageReadmeFile>
1621
</PropertyGroup>
1722

1823
<ItemGroup>
19-
<PackageReference Include="Microsoft.Extensions.Options" Version="7.0.1" />
24+
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.0" />
25+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
26+
<None Include="..\README.md" Pack="true" PackagePath="\">
27+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
28+
</None>
2029
</ItemGroup>
2130

2231
</Project>

Deploy/deploy.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
dotnet pack
2-
dotnet nuget push barion-client-library-v2.1.0.0.nupkg --api-key myapikey --source https://api.nuget.org/v3/index.json
1+
dotnet build --configuration Release
2+
dotnet nuget push BarionClient2.1.1.0.nupkg --api-key myapikey --source https://api.nuget.org/v3/index.json

ReleaseNotes.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,12 @@ Initial release of the BarionClient v2
77
- upgraded to .Net6
88
- changed constructor for easier .Net DI usage
99
- FundingSourceType extended with BankTransfer
10-
- modernized sample asp.net core project
10+
- modernized sample asp.net core project
11+
12+
## v1.1
13+
14+
Minor updates
15+
- New fund source types added
16+
- Dependencies updated
17+
- SourceLink setup
18+
- Readme added to nuget package

0 commit comments

Comments
 (0)