Expand description
§Versioning utilities
A toolbox of small utilities based on semver.org
.
Useful for version control operations.
Functions§
- semver_
parse - Parse a provide slice and get a semver version in the form of
. . If the input has only . , we expand to . .0 - semver_
parse_ or_ default - Parse a provide slice and get a semver version in the form of
. . If the input has only . , we expand to . .0 In case of failure, return 0.0.0 - semver_
parse_ regex - Extract version based on provided pattern capture and delimiter Example Pattern: “btsys_intbrd_fw_v_(.*).hex” Example delimiter: ‘_’ to parse “btsys_intbrd_fw_v_0_9.hex” as version 0.9