Version Conversion

Compares version strings, not convert.


Description

DISCLAIMER

This shortcut doesnt detect letters (yet). It separates version number strings by the dot ( . ), making a segment. it starts from the first segment, and if that one isn’t greater than the other string’s segment, it will move onto the next segment and compare those. You may get errors if one string has more segments than the other.

Also, I know it says "conversion," but it doesn't convert version strings. it COMPARES them. The name just has a certain… ring that I like.

HOW TO USE

To compare via shortcut input, use the long dash ( — ⌥ + ⇧ + - ) between the 2 versions like this:

22.15.1.0—22.15.1.1

If you do happen to have more than 2 strings, the shortcut only uses the first 2 strings after splitting it from the long dash. Alternatively, you can run it directly from Shortcuts, and fill in the forms to get it a test. The Shortcut will return the larger (newer) of the two.


Latest Release Notes

22.15.1.0 - April 20, 2022, 1:28 a.m.

- Initial release


Version history