Skip to content

Commit 0dddab9

Browse files
authored
Automatically publish to NuGet on tag (#202)
+semver:patch
1 parent 56a9f12 commit 0dddab9

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

appveyor.yml

+11
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,14 @@ before_test:
2525
$doc = (gc $config) -as [xml];
2626
$doc.SelectSingleNode('//connectionStrings/add[@name="DelegateDecompilerEfTestDb"]').connectionString = "Server=(local)\\SQL2017;Database=DelegateDecompilerEfTestDb;MultipleActiveResultSets=True;User ID=sa;Password=Password12!;Trusted_connection=True";
2727
$doc.Save($config);
28+
29+
artifacts:
30+
- path: '**/*.nupkg'
31+
- path: '**/*.snupkg'
32+
33+
deploy:
34+
- provider: NuGet
35+
on:
36+
APPVEYOR_REPO_TAG: true
37+
api_key:
38+
secure: jvtF15G6C62Mw4rutAgf401eKAzsI8zFC7CZwFfFcteWTRBeu8gbG1HRr5t62ly9

src/Directory.Build.props

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<EmbedUntrackedSources>True</EmbedUntrackedSources>
2121
<IncludeSymbols>True</IncludeSymbols>
2222
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
23+
24+
<ContinuousIntegrationBuild Condition="'$(CI)' != ''">$(CI)</ContinuousIntegrationBuild>
2325
</PropertyGroup>
2426

2527
<ItemGroup>

0 commit comments

Comments
 (0)