Questions tagged [build-numbers]

Numbers generated by build processes to identify instances of a project that may not correspond to releases.

Build numbers differ from version numbers in that they are generally incremented each time a project is compiled (often as a part of a continuous integration process) rather than when a code base has reached a certain set of milestones.

Depending on the project, build numbers can be based on the date and time of the build, the total number of builds performed for the project, or the total number of builds for a given version/release.

72 questions
31
votes
6 answers

Is it possible to use maven buildnumber plugin to generate build number without any scm check?

Getting the following exception while using maven build number plugin. Is it possible to disable SCM check while using the build number plugin? Can we use this plugin to generate build number on non SCM build? Exception while doing the…
Joshan George
  • 668
  • 1
  • 7
  • 14
19
votes
2 answers

CMake: Read build number from file to set a variable

I'm working on a project where the build number is stored in a file called 'BuildNumber.txt' at the root of the project. What I'd like to do is have CMake read the number from this file and set a variable that can be applied to a header…
Grant Limberg
  • 20,913
  • 11
  • 63
  • 84
11
votes
7 answers

How to increment build number of Flutter IOS app when deploying with CodeMagic

I am unable to increment the build number of my Flutter app automatically when I deploy it using CodeMagic (https://codemagic.io/) which is owned by Nevercode. I followed the steps described on this page:…
Henry
  • 379
  • 4
  • 11
10
votes
5 answers

How to do app versioning in create react app?

I need to display version of my react app in the footer in x.y.z format. I need this version to increment every time I deploy the app by being provided a choice if I want to increment x or y or z. How do I achieve this? :)
Vinay Sharma
  • 3,291
  • 4
  • 30
  • 66
10
votes
2 answers

How to add pre-build step in qmake/qtcreator?

I want the compiled application to have the commit number, source files checksums and other things to be available during the compilation. In plain Makefiles I do like this: prog: VERSION source.c gcc -DVERSION=\"$(shell cat VERSION)\" source.c…
Vi.
  • 37,014
  • 18
  • 93
  • 148
8
votes
2 answers

How can the AOSP build number be customized?

I am building AOSP, v4.4.2. I want to specify a part of the "Build number" string (as per Settings -> About tablet). I know that this can be done for the Kernel by using the CONFIG_LOCALVERSION defconfig value. But I want to change "Build number",…
CJBS
  • 15,147
  • 6
  • 86
  • 135
6
votes
1 answer

How to increment build number with Gradle and/or IntelliJ automatically?

How to increment build number with Gradle and/or IntelliJ? The question is not related with Android, it is normal Java App. Increment should occur either on each build or on special task run. I have following line in my build.gradle version =…
Dims
  • 47,675
  • 117
  • 331
  • 600
6
votes
1 answer

broken classpath with Intellij Idea on maven dependency

i'm using Intellij IDEA 12.1.6, almost everyone in my company use Eclipse and dont notice my problem. We have a local nexus repository where we deploy artifacts, but some of them are systematically created with an invalid maven-metadata.xml (the…
G-Host
  • 356
  • 2
  • 11
6
votes
1 answer

Xcode Gettings Version & Build Number

I want to print both the version and build number into my app on the app's Info and Credits screen. I've entered 1.2 in the "Version Number" on the summary page, and "D03" into the "Build Number" on summary page. I then found this code snippet to…
Flatlyn
  • 2,040
  • 6
  • 40
  • 69
5
votes
1 answer

How to increase Assembly Version Number 1 by 1

I setted AssemblyVersion attribute to this: [assembly: AssemblyVersion("1.0.0.*")] It is increasing according to change of assembly and time. Now it is: {1.0.0.20042} and if I don't change cs files inside assembly it doesn't increase. But if I…
uzay95
  • 16,052
  • 31
  • 116
  • 182
4
votes
2 answers

How to add build number and date from github in ruby code?

How can you automatically import the latest github commit number from github? The goal would be to have that number visible on your webpage footer like SO does with date. Whats the structure: I have a production branch which is deployed using…
Mohit Jain
  • 43,139
  • 57
  • 169
  • 274
4
votes
0 answers

Maven cargo and buildnumber plugin

Is there anybody out there who has combine the both maven plugins Cargo and Buildnumber work together ? I can create a property 'buildNumber' from the BuildNumber plugin well, but this property isn't propagated into the Cargo plugin. As mentions…
Dominik
  • 1,332
  • 1
  • 15
  • 28
4
votes
1 answer

Teamcity custom build number generator

Our Teamcity build currently generates build numbers in the format 1.0.0.[SVN REVISION] which it passes through to MSBUILD. I need to change this to the format 1.0.[DLL VERSION].[SVN REVISION] where we insert a de-dotted version of a dependant dll…
Matt
  • 354
  • 3
  • 11
4
votes
1 answer

maven buildnumber plugin not working with mercurial

I'm trying to get the mercurial revision number in the manifest. I've read following instructions: http://maven.apache.org/plugin-developers/cookbook/add-svn-revision-to-manifest.html Maven + Mercurial for Build Numbers I do not get an error message…
beginner_
  • 7,230
  • 18
  • 70
  • 127
4
votes
4 answers

How do you track the build count of your library when there are multiple authors using version control?

I don't know if this is something common for people to do or not, but I personally always keep track of the number of times I built my code. That is, both the number of times I called make and the number of times the build was successful. My current…
Shahbaz
  • 46,337
  • 19
  • 116
  • 182
1
2 3 4 5