Open
Description
Description
At the moment version arguments passed on the command line are not sanitized in any way, making it possible to pass nonsense values e.g. negative integers can be passed. We should validate that this values are correct. Probably the safest approach is to define a set of permitted version values.
Also, when calling the update-version
command we need to make sure that oldVersion < newVersion
.
Tests
Not sure about testing this since this is purely a UI feature. Perhaps e2e testing could verify that the command line interface fails when called with incorrect values?