> A pre-release version MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately following the patch version.
Note that it says "MAY" and not "MUST", so it's optional.
> A pre-release version MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately following the patch version.
Note that it says "MAY" and not "MUST", so it's optional.