Skip to content

Commit

Permalink
Release 3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vttn committed Aug 16, 2021
1 parent 431f9f7 commit 6dc35b1
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 25 deletions.
38 changes: 25 additions & 13 deletions .github/workflows/publishing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,30 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: ./src/Wallee/Wallee.csproj
- uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101

- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore

- name: Test
run: dotnet test --configuration Release --no-restore --verbosity normal

- name: Pack
run: dotnet pack --configuration Release --no-build --output .

- name: Publish
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: ./src/{{ packageName }}/{{ packageName }}.csproj
INCLUDE_SYMBOLS: true
{{=<% %>=}}
NUGET_KEY: ${{ secrets.NUGET_API_KEY }}
<%={{ }}=%>
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ NOTE: RestSharp versions greater than 106.2.1 have a bug which causes file uploa
## Installation
```
# Package Manager
Install-Package Wallee -Version 3.0.3
Install-Package Wallee -Version 3.0.4
# .NET CLI
dotnet add package Wallee --version 3.0.3
dotnet add package Wallee --version 3.0.4
# Paket CLI
paket add Wallee --version 3.0.3
paket add Wallee --version 3.0.4
# PackageReference
<PackageReference Include="Wallee" Version="3.0.3" />
<PackageReference Include="Wallee" Version="3.0.4" />
```

Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
Expand Down
8 changes: 4 additions & 4 deletions src/Wallee/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "3.0.3";
public const string Version = "3.0.4";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -90,7 +90,7 @@ public Configuration(string applicationUserID, string authenticationKey)
}
_authenticationKey = authenticationKey;
_applicationUserID = applicationUserID;
UserAgent = "Wallee/3.0.3/csharp";
UserAgent = "Wallee/3.0.4/csharp";
BasePath = "https://app-wallee.com:443/api";
DefaultHeader = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -338,8 +338,8 @@ public static String ToDebugReport()
String report = "C# SDK (Wallee) Debug Report:\n";
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 3.0.3\n";
report += " SDK Package Version: 3.0.3\n";
report += " Version of the API: 3.0.4\n";
report += " SDK Package Version: 3.0.4\n";

return report;
}
Expand Down
8 changes: 4 additions & 4 deletions src/Wallee/Wallee.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
<PackageId>Wallee</PackageId>
<PackageLicense>https://www.apache.org/licenses/LICENSE-2.0.txt</PackageLicense>
<PackageProjectUrl>https://github.com/wallee-payment/csharp-sdk</PackageProjectUrl>
<PackageVersion>3.0.3</PackageVersion>
<Version>3.0.3</Version>
<PackageVersion>3.0.4</PackageVersion>
<Version>3.0.4</Version>
<PackageTags>Wallee;payment;sdk;Payment Integration</PackageTags>
<OutputType>Library</OutputType>
<Owners>customweb</Owners>
<ReleaseVersion>3.0.3</ReleaseVersion>
<ReleaseVersion>3.0.4</ReleaseVersion>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/wallee-payment/csharp-sdk.git</RepositoryUrl>
<RootNamespace>Wallee</RootNamespace>
Expand All @@ -52,4 +52,4 @@
<Reference Include="System.Xml"/>
</ItemGroup>

</Project>
</Project>

0 comments on commit 6dc35b1

Please sign in to comment.