File tree 2 files changed +7
-9
lines changed
2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 8
8
<AssemblyName >csipfs</AssemblyName >
9
9
<RootNamespace >Ipfs.Cli</RootNamespace >
10
10
11
- <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
12
11
<PackAsTool >true</PackAsTool >
13
12
<ToolCommandName >csipfs</ToolCommandName >
13
+ <GeneratePackageOnBuild Condition =" '$(Configuration)' == 'Release' " >true</GeneratePackageOnBuild >
14
+ <IsPackable >true</IsPackable >
15
+ <IsShippingPackage >true</IsShippingPackage >
14
16
15
17
<!-- developer build is always 0.42 -->
16
18
<AssemblyVersion >0.42</AssemblyVersion >
25
27
<PackageReleaseNotes >https://github.com/richardschneider/net-ipfs-engine/releases</PackageReleaseNotes >
26
28
<Copyright >© 2018-2019 Richard Schneider</Copyright >
27
29
<PackageTags >ipfs peer-to-peer p2p distributed file-system web</PackageTags >
28
- <IncludeSymbols >True</IncludeSymbols >
29
30
<PackageProjectUrl >https://github.com/richardschneider/net-ipfs-engine</PackageProjectUrl >
30
31
<PackageIconUrl >https://raw.githubusercontent.com/richardschneider/net-ipfs-core/master/doc/images/ipfs-cs-logo-64x64.png</PackageIconUrl >
31
32
</PropertyGroup >
32
33
33
- <PropertyGroup >
34
- <!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
35
- <PublishRepositoryUrl >true</PublishRepositoryUrl >
36
- </PropertyGroup >
37
-
38
34
<ItemGroup >
39
35
<PackageReference Include =" Common.Logging" Version =" 3.4.1" />
40
36
<PackageReference Include =" Ipfs.Http.Client" Version =" 0.31.0" />
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ build_script:
46
46
47
47
test_script :
48
48
- dotnet test --logger "console;verbosity=normal" -c %CONFIGURATION% --no-build --no-restore test
49
+ - dotnet tool install --global --ignore-failed-sources --add-source .\IpfsCli\bin\Release csipfs
50
+ - csipfs --help
49
51
50
52
after_test :
51
53
# Generate coverage report
@@ -67,9 +69,9 @@ after_test:
67
69
- if defined git_token gh-pages -d doc\_site -m "new docs %GitVersion_FullSemVer%"
68
70
69
71
artifacts :
70
- - path : ' src /**/*.nupkg'
72
+ - path : ' . /**/*.nupkg'
71
73
name : nupkg
72
- - path : ' src /**/*.snupkg'
74
+ - path : ' . /**/*.snupkg'
73
75
name : snupkg
74
76
75
77
# publish NuGet package on tag build
You can’t perform that action at this time.
0 commit comments