I just realized that the comparison here
|
if(currentVersion == config["package-version"]): |
does not work. E.g. current version is 01.10focal1.03-0 but
config["package-version"] is 01.10focal1.03. So the appended
-0 from the version number in the repository is not reflected in
config["package-version"].
I don't now were that -0 is added, but because of that issue the test will always fail. Potentially, this allows to publish packages that already exists in the repository.