Skip to content

Commit

Permalink
Update NuGet api key. (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
Choc13 authored Jan 31, 2020
1 parent 6fe2dfd commit 0a3cc96
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 29 deletions.
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
</ItemGroup>
Expand Down
28 changes: 14 additions & 14 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '{build}'
version: "{build}"
environment:
CLI_VERSION: latest
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
CLI_VERSION: latest
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
image: Visual Studio 2019
configuration:
- Release
Expand All @@ -15,15 +15,15 @@ build_script:
test_script:
- dotnet test -c Release --no-build
artifacts:
- path: .\**\*.nupkg
name: NuGet
- path: .\**\*.nupkg
name: NuGet
nuget:
disable_publish_on_pr: true
disable_publish_on_pr: true
deploy:
- provider: NuGet
api_key:
secure: K7GBfAz5cr3lqVzn2+KbM45GA2ZeDjOpgnDU2jpw76PxBL2Qph3OBcfXWuGb+wwD
on:
branch:
- master
- /release\/[0-9]\.[0-9]/
- provider: NuGet
api_key:
secure: +CD+4G+gMInD/BjNvO24NW9u1udGdsx0fUi6bh0muNezQ9fP0sHnS1f96f0OXUy6
on:
branch:
- master
- /release\/[0-9]\.[0-9]/
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
<Description>Provides support for configuring .NET Core applications with Consul</Description>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<PackageId>Winton.Extensions.Configuration.Consul</PackageId>
<PackageIconUrl>https://raw.githubusercontent.com/wintoncode/Winton.Extensions.Configuration.Consul/master/icon.jpg</PackageIconUrl>
<PackageIcon>icon.jpg</PackageIcon>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageProjectUrl>https://github.com/wintoncode/Winton.Extensions.Configuration.Consul</PackageProjectUrl>
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
<PackageTags>.NET;Core;dotnetcore;ASP.NET;aspnetcore;configuration;consul;winton;wintoncode</PackageTags>
<PackageVersion>$(NuGetVersion)</PackageVersion>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/wintoncode/Winton.Extensions.Configuration.Consul</RepositoryUrl>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
Expand All @@ -20,7 +19,7 @@
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="../../stylecop.json" />
<None Include="../../icon.jpg" Pack="true" PackagePath="" />
<None Include="../../LICENSE" Pack="true" PackagePath="" />
</ItemGroup>

Expand Down
4 changes: 0 additions & 4 deletions test/Net461Website/Net461Website.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<TargetFramework>net461</TargetFramework>
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="..\..\stylecop.json" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
Expand Down
4 changes: 0 additions & 4 deletions test/Website/Website.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="..\..\stylecop.json" />
</ItemGroup>

<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="../../stylecop.json" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Winton.Extensions.Configuration.Consul\Winton.Extensions.Configuration.Consul.csproj" />
</ItemGroup>
Expand Down

0 comments on commit 0a3cc96

Please sign in to comment.