Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Assembly Differ

Assembly Differ

CodeMerx

|
5 installs
| (0) | Free
Ensure library's public API has the expected level of changes (major, minor or patch) since a previous version.

Assembly Differ

Ensure library's public API has the expected level of changes (major, minor or patch) since a previous version. Built on top of assembly-differ and JustAssembly.

Usage

This task is simple wrapper of the assembly-differ command-line tool. The arguments passed as the args parameter are forwarded to the command-line tool. The available assembly providers and examples can be found here.

Example usage

steps:
...
- task: assembly-differ@1
  inputs:
    args: '"assembly|$(System.DefaultWorkingDirectory)\latest-release\Library.dll" "assembly|$(System.DefaultWorkingDirectory)\Library\Library\bin\debug\netstandard2.0\Library.dll" -p=major'

Note: -p=<level> is required to ensure failed job in case of public API changes higher or equal to the provided level, e.g. the example job will fail if the library has breaking changes. Possible values are major, minor and patch.

License

This project is AGPL licensed.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft