HB-6714 Compare SDK Version Against Versions inpackage.json and .nuspec
Description
Adds a couple of tests that compares sdk version (ChartboostMediation.Version) against the UPM package version in package.json and NuGet package version in .nuspec. If the versions don't match the tests fail and if the tests fail CI job fails as well.
Type of change
[ ] Bug fix (fixes an issue)
[ ] New feature (adds functionality)
[x] Refactor / Maintenance (refactoring code to be cleaner/easier to maintain)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Checklist:
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Title
HB-6714 Compare SDK Version Against Versions in
package.json
and.nuspec
Description
Adds a couple of tests that compares sdk version (
ChartboostMediation.Version
) against the UPM package version inpackage.json
and NuGet package version in .nuspec
. If the versions don't match the tests fail and if the tests fail CI job fails as well.Type of change
Checklist: