Quantcast
Channel: User Schwern - Stack Overflow
Viewing all articles
Browse latest Browse all 581

Answer by Schwern for GitHub doesn't list latest release as "latest"

$
0
0

Unless you tell it otherwise, Github does not pick the latest release by date, it picks it by semantic versioning. From Creating A Release...

Optionally, select Set as latest release. If you do not select this option, the latest release label will automatically be assigned based on semantic versioning.

You're not using semantic versioning, so it's anyone's guess what Github will do. Best to mark it explicitly.

Is it a problem of GitHub or the format of the first part of version number N-Y?

Rather than guess at what every projects unique version numbering scheme means, Github (and many others) have adopted semantic versioning. This provides a clear meaning and grammar and sort order for versions.

N-Y.M.D-X is not a valid semver as each point must be a positive integer. You can adapt your format to be a semantic version using build metadata. I'd suggest something like 1.2.3+20241025.rename-models.deadb33f


Viewing all articles
Browse latest Browse all 581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>