Skip to content

codemerx/assembly-differ-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.