diff --git a/BTCPayServer.Client/BTCPayServer.Client.csproj b/BTCPayServer.Client/BTCPayServer.Client.csproj index 9988b3065..3fc8823d7 100644 --- a/BTCPayServer.Client/BTCPayServer.Client.csproj +++ b/BTCPayServer.Client/BTCPayServer.Client.csproj @@ -2,12 +2,36 @@ netstandard2.1 + BTCPay Server + Copyright © BTCPay Server 2020 + A client library for BTCPay Server Greenfield API + icon.png + btcpay,btcpayserver + https://github.com/btcpayserver/btcpayserver/tree/master/BTCPayServer.Client + MIT + https://github.com/btcpayserver/btcpayserver + git - + + 1.1.0 + + + true + true + portable + true + 1591;1573;1572;1584;1570;3021 + true + + + + - + + + diff --git a/BTCPayServer.Client/PushNuget.ps1 b/BTCPayServer.Client/PushNuget.ps1 new file mode 100644 index 000000000..2a0d96353 --- /dev/null +++ b/BTCPayServer.Client/PushNuget.ps1 @@ -0,0 +1,7 @@ +rm "bin\release\" -Recurse -Force +dotnet pack --configuration Release --include-symbols -p:SymbolPackageFormat=snupkg +$package=(ls .\bin\Release\*.nupkg).FullName +dotnet nuget push $package --source "https://api.nuget.org/v3/index.json" +$ver = ((ls .\bin\release\*.nupkg)[0].Name -replace '.*(\d+\.\d+\.\d+)\.nupkg','$1') +git tag -a "BTCPayServer.Client/v$ver" -m "BTCPayServer.Client/$ver" +git push --tags diff --git a/BTCPayServer.Client/icon.png b/BTCPayServer.Client/icon.png new file mode 100644 index 000000000..846be6255 Binary files /dev/null and b/BTCPayServer.Client/icon.png differ diff --git a/BTCPayServer/Views/Shared/LayoutPartials/SyncModal.cshtml b/BTCPayServer/Views/Shared/LayoutPartials/SyncModal.cshtml index 5c5102200..fe9de061a 100644 --- a/BTCPayServer/Views/Shared/LayoutPartials/SyncModal.cshtml +++ b/BTCPayServer/Views/Shared/LayoutPartials/SyncModal.cshtml @@ -1,4 +1,4 @@ -@using BTCPayServer.Contracts +@using BTCPayServer.Contracts @inject IEnumerable SyncSummaryProviders; @if(SyncSummaryProviders.Any(provider => !provider.AllAvailable())) {