#118 find_latest: Fix computation of previous version
Merged by lsedlar. Opened by lsedlar.
lsedlar/compose-utils fix-prev-version-computation  into  master

If the version ends with .0, decrement the part before that.

Duplicate method name.

What is the reason returning X.-1 instead of an exception?

I guess that's a reasonable change. It will require more changes in the calling code to handle the exception. I'll update it.

rebased onto e9d20387c1b4f9efea263e1f24b442b4bd3ae5d1

Pull-Request has been merged by lsedlar