Skip to content

Program or script to block merges when project versions are inadequate

Add something to the CI that will check the latest version of each package in the NuGet feed and compare it to the current build. It should then cause the pipeline to fail if:

  • Code was changed in a project and the version number was not updated
  • New methods, properties or classes were added and minor version was not incremented
  • Any method, property or class is gone or behaves differently from previous versions and the major version was not incremented (ignore this on version 0)