Fails verification if package files have no files in them, now that we are checking anyway.
If someone wants to build an empty package (just a control file for install recommendations) they can use the optional parameter enableVirtualPackages: true in the top level pipeline.
Also updates a regex to use the literal period instead of a wildcard to avoid unexpected failures with certain branch names
Why should this Pull Request be merged?
Packages should not usually be empty, so we might as well catch the error case.
Also fixes a bug that would impact any dev branch with "nipkg" in the name
What testing has been done?
Tested with dev tools, which was making empty packages at the time of the test:
Then tested with a special branch of build-tools with enableVirtualPackage:
this works.
This PR should not fail, to verify the existing case.
What does this Pull Request accomplish?
Why should this Pull Request be merged?
Packages should not usually be empty, so we might as well catch the error case. Also fixes a bug that would impact any dev branch with "nipkg" in the name
What testing has been done?
Tested with dev tools, which was making empty packages at the time of the test:
Then tested with a special branch of build-tools with enableVirtualPackage: this works.
This PR should not fail, to verify the existing case.