Skip to content

Commit

Permalink
Just do the diff of the latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Mar 15, 2021
1 parent fb6ebc0 commit 2f170e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ steps:
artifactName: nuget
- task: PublishBuildArtifacts@1
inputs:
pathToPublish: test-output
artifactName: test-output
pathToPublish: diff
artifactName: diff
- task: PublishTestResults@2
condition: always()
inputs:
Expand Down
3 changes: 1 addition & 2 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ Task("Test")
var app = $"api-tools/bin/{configuration}/netcoreapp3.1/api-tools.dll";
var id = "Mono.ApiTools.NuGetDiff";
var version = prerelease ? previewVersion : packageVersion;
DotNetCoreExecute(app, $"nuget-diff ./output/{id}.{version}.nupkg --latest --cache=externals --output=test-output");
DotNetCoreExecute(app, $"nuget-diff ./output/{id}.{version}.nupkg ./output/{id}.{version}.nupkg --output=test-output");
DotNetCoreExecute(app, $"nuget-diff ./output/{id}.{version}.nupkg --latest --cache=externals --output=diff");
});

Task("Default")
Expand Down

0 comments on commit 2f170e1

Please sign in to comment.