Questions tagged [version-numbering]
92 questions
261
votes
19 answers
What is the Git equivalent for revision number?
We use SVN at work, but for my personal projects I decided to use Git. So I installed Git yesterday, and I wonder what is the revision number equivalent in Git.
Let's say we work on version 3.0.8 and every bug fix has its own revision number we can…

Radek
- 13,813
- 52
- 161
- 255
178
votes
11 answers
What to use as an initial version?
I usually start my projects with a version 1.0.0. As soon as I have some stuff together, I release it as 1.0.0 and move on with 1.1.0.
However, this leads to usable but not exactly feature complete version 1.0.0 of most stuff I write. I then add…

Noarth
- 3,981
- 6
- 23
- 16
73
votes
4 answers
Why is System.Version in .NET defined as Major.Minor.Build.Revision?
Why is System.Version in .NET defined as Major.Minor.Build.Revision? Almost everyone (including me) seems to agree that revision belongs in third place, and "build" or whatever you'd like to call it belongs last.
Does Microsoft even use the numbers…

Jake Petroules
- 23,472
- 35
- 144
- 225
68
votes
6 answers
What every digit means in software version (1.7.1.0, for example)?
What could every digit mean in software version? (for example, 1.7.1.0)
How do you numerate your versions?

Kirzilla
- 16,368
- 26
- 84
- 129
42
votes
1 answer
Check what version of the app is being used
Possible Duplicate:
How to display the current project version of my App to the user?
Is there a way to check the version number of my app? Is it supplied somewhere once the app is in the App Store?

Marty
- 5,926
- 9
- 53
- 91
33
votes
5 answers
How to compare kernel (or other) version numbers in Ansible
For a role I'm developing I need to verify that the kernel version is greater than a particular version.
I've found the ansible_kernel fact, but is there an easy way to compare this to other versions? I thought I might manually explode the version…

TobyG
- 1,692
- 3
- 21
- 36
27
votes
6 answers
How do I differentiate between beta versions and normal versions?
I generally agree that major versions of a program should be 1.0, 2.0, ... and significant updates should be: 1.1, 1.2, ..., and that bug fixes should be at the third level: 1.0.1, 1.0.2, ... 1.0.156 (if you've been plagued by that many bug-fix…

lkessler
- 19,819
- 36
- 132
- 203
20
votes
8 answers
Looking for a way automate the "bump version" with git flow
I have been using git flow for a couple of months and it has worked very well. I would like to automate the "bump version" operation.
The project is PHP and the footer.php has a token to replace with the current release tag. I am certain that…

spdaly
- 1,260
- 2
- 18
- 35
17
votes
2 answers
Xamarin mobile app version number scheme across 3 platforms
There's probably multiple questions here all related. I'm trying to come up with a simple version number update scheme for our 3 mobile apps built from a single xamarin solution.
What I'm looking for is a simple way to keep all these values in sync…

Eoin Campbell
- 43,500
- 17
- 101
- 157
16
votes
7 answers
How to get device (AOSP) Build Number in Android devices programmatically?
From within an Android Application, how can the hosting device's Build Number, as displayed in System Settings -> About Tablet -> Build Number be obtained programmatically for use within a Java Android application?
Currently, I'm using…

Amit kumar
- 1,585
- 2
- 16
- 27
15
votes
2 answers
How to automate version number update process for my Eclipse plugin built with Maven
I working with a project similar to the project described here.
So, it has a few modules in parent pom.xml:
../de.vogella.tycho.plugin
../de.vogella.tycho.feature
…

Dmitry Gridyushko
- 151
- 1
- 4
12
votes
1 answer
Why does the pip requirements file contain "@file" instead of version number?
I created the requirements.txt with pip freeze > requirements.txt. Some modules show the @file..... instead of the version #. What does it mean and why it show?
Conda: 4.8.3
Here is the result of requirements.txt. e.g. astroid, flask-admin,…

nahi
- 163
- 1
- 7
8
votes
3 answers
Can I make git print x.y.z style tag names in a sensible order?
Consider this list of version numbers:
0.3.0
0.3.1
...
0.3.8
0.3.9
0.3.10
0.3.11
git tag would print them in the following order:
0.3.0
0.3.1
0.3.10
0.3.11
0.3.2
...
I there any way to make git tag print them in 'numeric' order as opposed to…

nfm
- 19,689
- 15
- 60
- 90
8
votes
3 answers
How to get the IE version number from the Windows registry?
My Java application needs to know what version of IE (if any) is installed on the local machine, and querying the registry seems like the easiest way. What registry key and value should I look up?
This needs to work on Windows XP, Windows Server…

Andrew Swan
- 13,427
- 22
- 69
- 98
8
votes
5 answers
Compare versions as strings
Comparing version numbers as strings is not so easy...
"1.0.0.9" > "1.0.0.10", but it's not correct.
The obvious way to do it properly is to parse these strings, convert to numbers and compare as numbers.
Is there another way to do it more…

Dmitriy
- 3,305
- 7
- 44
- 55