this post was submitted on 30 Jun 2024
15 points (100.0% liked)

General Programming Discussion

7814 readers
3 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
top 4 comments
sorted by: hot top controversial new old
[–] cbarrick@lemmy.world 20 points 4 months ago

The meaning of version numbers can vary across projects.

One common scheme is Semantic Versioning, which divides the version number into three parts: MAJOR.MINOR.PATCH*

  • MAJOR is incremented when there are backwards incompatible changes.
  • MINOR is incremented when new features are added in a backwards compatible way.
  • PATCH is incremented for smaller big fixes.
  • Each number is reset to zero when a higher level number is incremented.

* It's a bit more complex than this, but this is the gist.

[–] dch82@lemmy.zip 5 points 4 months ago

AFAIK, build numbers and version numbers are usually seperate: Versions follow builds not the other way around.

[–] synae@lemmy.sdf.org 4 points 4 months ago

While there are usual practices and some common sense methods you can expect, it is ultimately up to the software authors and can be whatever they wish, or nothing at all. Neither version nor build numbers are universally used.

[–] dgriffith@aussie.zone 2 points 4 months ago* (last edited 4 months ago)

In Visual Studio you can set the build number in your project as something similar to a unix timestamp/raw excel date value, so you can convert it back to a date/time of the build.

In that case it would always increment on each build regardless of whatever version numbers you set.