3 ms·
> This means major version changes are a fairly regular occurrence. Some say that we should just stay on v0, and that’s a reasonable solution. The problem is th
by earthboundkid 5y ago
> This means major version changes are a fairly regular occurrence. Some say that we should just stay on v0, and that’s a reasonable solution. The problem is these ARE production packages that are being used by a wide number of services. We want to Semver.
This is a lame problem. v0.Major.Minor-Patch. Done. Yes, semver includes an optional dash for a fourth parameter, and Go supports it.
- pa7ch 5y agoHow does the forth parameter affect version ordering though? Since its a pre-release I would assume v0.1.2-3 actually comes before v0.1.2. You'd have to ensure make all your versions have the dash I guess.
- munificent 5y ago> Since its a pre-release I would assume v0.1.2-3 actually comes before v0.1.2. That's correct. (The really fun weird corner of semver is build suffixes. According to semver 2.0.0, v1.2.3+4 and v1.2.3+5 have no specified relative ordering. According to semver 2.0.0-rc.1, build suffixes are ordered.)