Are these versions 1.0.0 and 1.0 different? #388

Closed
opened 2026-02-17 11:59:44 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @masoudgs on GitHub (Jul 9, 2019).

I'm wondering are these versions difference or not?

  • 1.0.0
  • 1.0
Originally created by @masoudgs on GitHub (Jul 9, 2019). I'm wondering are these versions difference or not? - 1.0.0 - 1.0
Author
Owner

@DavidFichtmueller commented on GitHub (Jul 9, 2019):

Yes they are different, as 1.0.0 is a valid SemVer whereas 1.0 is not. The patch part of the version is not optional. I hope this helps.

@DavidFichtmueller commented on GitHub (Jul 9, 2019): Yes they are different, as 1.0.0 is a valid SemVer whereas 1.0 is not. The patch part of the version is not optional. I hope this helps.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#388