Questions tagged [version-numbering]
92 questions
7
votes
1 answer
How can I update my project version numbers using Git?
Say I have two branches: develop and feature.
Assume I also have a file called VersionNumber which has the following content:
BUILD_NUMBER 1
I want to use Git hooks so that, when I merge feature into develop, the BUILD_NUMBER field gets…

alguru
- 404
- 6
- 16
7
votes
3 answers
TeamCity to read and update version number from version file
We are using TeamCity as a CI server and we've been thinking how to implement a method for versioning our releases that is safe (i.e. minimal opportunity for human error) but also that requires the least effort possible. So far the following seems…

King Roger
- 761
- 1
- 7
- 8
6
votes
5 answers
Where does the version number come from?
I have a version control system (e.g. Subversion) and now I'd like to set up a build process. Now I have to create a version number and insert it into the system. But where does the version number come from and get into? Assume I want to use this…

robsch
- 9,358
- 9
- 63
- 104
6
votes
5 answers
How to compare version numbers in C++
Our professor want us to write a program to compare two version numbers, like 0.1 < 0.2 or 1 < 1.1. Also there are some trick ones like .0.4 < .1.
So, my idea is first judge if the number start as a dot, if it does, I add a 0 to it. After that I…

Huang Xu
- 93
- 2
- 8
6
votes
6 answers
comparing version numbers in c
I am seeing a lot of answers for this problem in other languages but I am trying to find out a way to compare 2 version numbers given as strings. For example
str1 = "141.1.23"
str2 = "141.1.22"
I am trying to find a way to compare the integer…

bardockyo
- 1,415
- 6
- 21
- 32
6
votes
2 answers
Where the data-tier application version number is stored in a Visual Studio project?
I have an utility which fills version numbers in AssemblyInfo.cs files. Now I need to implement a functionality to adjust version numbers for Visual Studio Data-Tier applications (DACPAC).
I see that I can adjust the number manually if I open…

JustAMartin
- 13,165
- 18
- 99
- 183
6
votes
1 answer
Why Visual C++ version numbers have a comma in them instead of a dot
I have seen that my Visual C++ projects have the following declarations that use COMMAS instead of DOTS for versions:
#define FILEVER 11,0,2,0
#define PRODUCTVER 11,0,2,0
#define STRFILEVER "11, 0, 2, 0\0"
#define STRPRODUCTVER …

A9S6
- 6,575
- 10
- 50
- 82
5
votes
2 answers
How to set complete build number in VB6 (Major.Minor.Build.Revision)
How to set the complete version number from vb6 (VPIaccessMaker.vbg),from Visual Basic i can set Major.Minor.Revision as 3.2.2 in that case my exe version will be 3.2.0.2.How to set build number in this case like 3.2.1.2.

Shrivallabh
- 2,863
- 2
- 27
- 47
4
votes
3 answers
Is it possible to bind a TextBlock's Text to an applications AssemblyVersion?
If I have a TextBlock in the corner of my UserControl is it possible to bind the Text property to my Assembly Version Number Which is in AssemblyInfo.cs
WPF:
AssemblyInfo.cs
[assembly:…

JKennedy
- 18,150
- 17
- 114
- 198
3
votes
1 answer
Setting Teamcity version number with counter from file
I'm currently trying to update the version no. in TeamCity using a Nant build file, containing the version number.
If I just use
.
.
In…

dennis_ler
- 659
- 1
- 9
- 36
3
votes
4 answers
Sort a list that contains version numbers properly
So, I have a list of versions that looks like this:
v1.1.0
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.7.0
v1.8.0
v1.9.0
v2.0.0
v2.1.0
v2.10.0
v2.11.0
v2.12.0
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v2.7.0
v2.8.0
v2.9.0
The problem is, they are ordered…

r3plica
- 13,017
- 23
- 128
- 290
3
votes
2 answers
Selecting Maximum Version Number from Two Columns
This relates to another question I asked previously. You may have a better understanding of this if you quickly scan it.
Version Numbers float, decimal or double
I have two colums and a foreign in a database table. A [Version] column and a…

Jamie
- 988
- 1
- 11
- 19
2
votes
0 answers
How to pick up release version from maven release plugin using GMaven?
I have the feeling I'm doing something wrong here as I have been digging around the net for a while (stackoverflow included of course) and yet that rendered no results!
In brief, I have a maven project set up with maven release plugin which works…

Liv
- 6,006
- 1
- 22
- 29
2
votes
0 answers
Versionning a NodeJS project using GitLab CI not working in verify conditions section
Hello Everyone,
I'm trying to implement the versionning of a NodeJS project using GitLab CI but i have a strange problem when running npx semantic-release, could someone help me to resolve this problem.
Error message :
[12:42:29 PM]…

Bilel KRICHEN
- 21
- 2
2
votes
1 answer
Possible to change version numbering scheme for already deployed iPhone app?
Some time ago we released an app to the AppStore on a client's account. The client preferred a simple version number scheme, so the apps first version number was 1.0. Since it's release, however, there seems to be an unexpected need for minor…

Toastor
- 8,980
- 4
- 50
- 82