Skip to content

Commit 0a3cc96

Browse files
authored
Update NuGet api key. (#95)
1 parent 6fe2dfd commit 0a3cc96

6 files changed

Lines changed: 20 additions & 29 deletions

File tree

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
1010
</PropertyGroup>
1111

12+
<ItemGroup>
13+
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" />
14+
</ItemGroup>
15+
1216
<ItemGroup>
1317
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
1418
</ItemGroup>

appveyor.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
version: '{build}'
1+
version: "{build}"
22
environment:
3-
CLI_VERSION: latest
4-
DOTNET_CLI_TELEMETRY_OPTOUT: 1
5-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
3+
CLI_VERSION: latest
4+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
5+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
66
image: Visual Studio 2019
77
configuration:
88
- Release
@@ -15,15 +15,15 @@ build_script:
1515
test_script:
1616
- dotnet test -c Release --no-build
1717
artifacts:
18-
- path: .\**\*.nupkg
19-
name: NuGet
18+
- path: .\**\*.nupkg
19+
name: NuGet
2020
nuget:
21-
disable_publish_on_pr: true
21+
disable_publish_on_pr: true
2222
deploy:
23-
- provider: NuGet
24-
api_key:
25-
secure: K7GBfAz5cr3lqVzn2+KbM45GA2ZeDjOpgnDU2jpw76PxBL2Qph3OBcfXWuGb+wwD
26-
on:
27-
branch:
28-
- master
29-
- /release\/[0-9]\.[0-9]/
23+
- provider: NuGet
24+
api_key:
25+
secure: +CD+4G+gMInD/BjNvO24NW9u1udGdsx0fUi6bh0muNezQ9fP0sHnS1f96f0OXUy6
26+
on:
27+
branch:
28+
- master
29+
- /release\/[0-9]\.[0-9]/

src/Winton.Extensions.Configuration.Consul/Winton.Extensions.Configuration.Consul.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
<Description>Provides support for configuring .NET Core applications with Consul</Description>
55
<GenerateDocumentationFile>True</GenerateDocumentationFile>
66
<PackageId>Winton.Extensions.Configuration.Consul</PackageId>
7-
<PackageIconUrl>https://raw.githubusercontent.com/wintoncode/Winton.Extensions.Configuration.Consul/master/icon.jpg</PackageIconUrl>
7+
<PackageIcon>icon.jpg</PackageIcon>
88
<PackageLicenseFile>LICENSE</PackageLicenseFile>
99
<PackageProjectUrl>https://github.com/wintoncode/Winton.Extensions.Configuration.Consul</PackageProjectUrl>
1010
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
1111
<PackageTags>.NET;Core;dotnetcore;ASP.NET;aspnetcore;configuration;consul;winton;wintoncode</PackageTags>
12-
<PackageVersion>$(NuGetVersion)</PackageVersion>
1312
<RepositoryType>git</RepositoryType>
1413
<RepositoryUrl>https://github.com/wintoncode/Winton.Extensions.Configuration.Consul</RepositoryUrl>
1514
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
@@ -20,7 +19,7 @@
2019
</PropertyGroup>
2120

2221
<ItemGroup>
23-
<AdditionalFiles Include="../../stylecop.json" />
22+
<None Include="../../icon.jpg" Pack="true" PackagePath="" />
2423
<None Include="../../LICENSE" Pack="true" PackagePath="" />
2524
</ItemGroup>
2625

test/Net461Website/Net461Website.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
<TargetFramework>net461</TargetFramework>
77
</PropertyGroup>
88

9-
<ItemGroup>
10-
<AdditionalFiles Include="..\..\stylecop.json" />
11-
</ItemGroup>
12-
139
<ItemGroup>
1410
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
1511
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />

test/Website/Website.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
<TargetFramework>netcoreapp3.0</TargetFramework>
77
</PropertyGroup>
88

9-
<ItemGroup>
10-
<AdditionalFiles Include="..\..\stylecop.json" />
11-
</ItemGroup>
12-
139
<ItemGroup>
1410
<Folder Include="wwwroot\" />
1511
</ItemGroup>

test/Winton.Extensions.Configuration.Consul.Test/Winton.Extensions.Configuration.Consul.Test.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
<TargetFramework>netcoreapp3.0</TargetFramework>
66
</PropertyGroup>
77

8-
<ItemGroup>
9-
<AdditionalFiles Include="../../stylecop.json" />
10-
</ItemGroup>
11-
128
<ItemGroup>
139
<ProjectReference Include="..\..\src\Winton.Extensions.Configuration.Consul\Winton.Extensions.Configuration.Consul.csproj" />
1410
</ItemGroup>

0 commit comments

Comments
 (0)