rlwhitcomb / utilities

Some of my personal utility programs
MIT License
2 stars 0 forks source link

There is a problem with version checking if the required version has no tag, but the current version does #653

Closed rlwhitcomb closed 4 months ago

rlwhitcomb commented 4 months ago

For instance, $requires base 1.12.2 Gives an error: Error: The required base version 1.12.2 is not compatible with the current version 1.12.2-debug+8e8321a.

Somehow, a version without a tag should be "below" one that has a tag....

rlwhitcomb commented 4 months ago

Actually, the problem could be that our "-debug" flag is not correct with respect to the Semantic Version spec. "debug" is actually a build meta tag, not a pre-release tag, so it should be prefixed with "_" or "+" instead of "-".