Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NuGet api key. #95

Merged
merged 1 commit into from
Jan 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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