-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Milestone
Description
Today I upgraded from composer 2.8.6 -> 2.8.8.
I ran a composer diagnose
on my project and noticed an error which I have not seen before:
Checking composer.lock: FAIL
packages[137].version : Does not match the regex pattern ^v?\d+(?:[.-]\d+){0,3}[._-]?(?:(?:stable|beta|b|RC|rc|alpha|a|patch|pl|p)(?:(?:[.-]?\d+)*+)?)?(?:[.-]?dev|\.x-dev)?(?:\+.*)?$|^dev-.*$
This did not happen on composer 2.8.6.
After further investigation, I came across this package 137 which had the version defined as 0.0.9-BETA
.
Manually changing this to 0.0.9-beta
seems to fix the issue.
Question
Should this '-beta' tag be case sensitive?
There doesn't seem to be any mention of this in the documentation: https://getcomposer.org/doc/04-schema.md#version
Metadata
Metadata
Assignees
Labels
No labels