Skip to content

Commit

Permalink
Update to Microsoft.SourceLink.GitHub. Use and publish .snupkg symbol…
Browse files Browse the repository at this point in the history
… package files.
  • Loading branch information
bchavez committed May 22, 2020
1 parent e617edc commit f00ddde
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 3 additions & 2 deletions BitArmory.ReCaptcha/BitArmory.ReCaptcha.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
<!--Source Link Settings-->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>false</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<DefineConstants>$(DefineConstants);STANDARD;STANDARD20</DefineConstants>
Expand All @@ -34,7 +35,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Roslynator.Analyzers" Version="1.8.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Reference Include="System.Net.Http" />
Expand Down
9 changes: 7 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ test_script:
artifacts:
- path: __package\*.nupkg
name: NuGet
- path: __package\*.snupkg
name: Symbols
- path: __package\*.zip
name: Zip

Expand All @@ -37,7 +39,7 @@ deploy:
tag: $(APPVEYOR_REPO_TAG_NAME)
description: '[**CHANGE LOG**](https://github.com/BitArmory/ReCaptcha/blob/master/HISTORY.md)'
prerelease: $(IsPreRelease)
artifact: Zip, NuGet
artifact: Zip, NuGet, Symbols
auth_token:
secure: orpmAg4FCSTLlblm4O4HfRuUosiP8Mnxeib0vshgZO0p2nFzKju1FiY6jkVkZBMy
on:
Expand All @@ -46,9 +48,12 @@ deploy:
appveyor_repo_tag: true

- provider: NuGet
server:
symbol_server:
skip_symbols: false
api_key:
secure: G63UldsDJHqas45sJlBFkCQ43nKPacvRz7WUzdC8cbJTKP0jQVqZiDGnjNR9i6ee
artifact: NuGet
artifact: NuGet, Symbols
on:
branch: master
appveyor_repo_tag_name: /v\d+\.\d+\.\d+/
Expand Down

0 comments on commit f00ddde

Please sign in to comment.