Questions tagged [versioning]

Software versioning is the process of assigning either unique version names or unique version numbers to unique states of computer software. Within a given version number category (major, minor), these numbers are generally assigned in increasing order and correspond to new developments in the software.

Software versioning is the process of assigning either unique version names or unique version numbers to unique states of computer software. Within a given version number category (major, minor), these numbers are generally assigned in increasing order and correspond to new developments in the software.

The following are some popular versioning software used:

  1. Git
  2. Subversion (SVN)
  3. Microsoft TFS
3122 questions
31
votes
3 answers

How do I find out what version of a bower package is actually installed?

Normally a bower.json file specifies some dependencies, but these are typically expressed so that they allow a range of versions of a bower package to be used (e.g. >=1.0, which means anything higher than version 1.0). I have an automated process…
Andrew Ferrier
  • 16,664
  • 13
  • 47
  • 76
31
votes
4 answers

nuget spec dependencies, get latest version?

In the nuspec versioning docs I see 1.0 = 1.0 ≤ x (,1.0] = x ≤ 1.0 (,1.0) = x < 1.0 [1.0] = x == 1.0 (1.0) = invalid (1.0,) = 1.0 < x (1.0,2.0) = 1.0 < x < 2.0 [1.0,2.0] = 1.0 ≤ x ≤ 2.0 empty = latest version. I have a packages.config that looks…
George Mauer
  • 117,483
  • 131
  • 382
  • 612
30
votes
1 answer

How to auto increment the version (eg. “1.0.*”) of a .NET Core project?

In the old .NET framework, you could set the [assembly: AssemblyVersion("1.0.*")] and the compiler would auto-increment the version. With .NET core, I've tried all sorts of things, but I can't get it to auto-increment. I've added…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
30
votes
4 answers

Cannot get assembly version for footer

I'm using the automatic build versioning mentioned in this question (not the selected answer but the answer that uses the [assembly: AssemblyVersion("1.0.*")] technique). I'm doing this in the footer of my Site.Master file in MVC 2. My code for…
Jaxidian
  • 13,081
  • 8
  • 83
  • 125
30
votes
5 answers

What version numbering scheme to use?

I'm looking for a version numbering scheme that expresses the extent of change, especially compatiblity. Apache APR, for example, use the well known version numbering scheme .. example: 4.5.11 Maven suggests a similar but…
deamon
  • 89,107
  • 111
  • 320
  • 448
29
votes
3 answers

Node.js REST API versioning the right way?

I would like to manage my REST API based on URL version specifying. For example: api.mydomain.com/v1/rides/ // will return all rides based on v1. api.mydomain.com/v2/rides/ // will return all rides based on v2 (probably with some braking…
Raz Buchnik
  • 7,753
  • 14
  • 53
  • 96
29
votes
7 answers

How can I find the version number of an iPhone app from the IPA?

We're trying out a new way of specifying version numbers for our app. I'd like to be able to check that the IPAs we're building have the version numbers we want. How do I get the version number out of the IPA? Note - I'm not asking for a way of…
Simon
  • 25,468
  • 44
  • 152
  • 266
28
votes
2 answers

What does SKU stands for?

MSDN says that configuration element can contain optional attribute sku. I understood totally how to use it, but what is SKU? I mean is it an acronym and if it is, what does it stands for?
Qué Padre
  • 2,005
  • 3
  • 24
  • 39
27
votes
5 answers

How to get the version from the package.json in Typescript?

I have found this Q&A. I have tried to get the version from the package.json using: import { version } from './package.json'; but it results in: package.json' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
030
  • 10,842
  • 12
  • 78
  • 123
27
votes
5 answers

How to detect which Bootstrap version is used from JavaScript?

I've been looking at the CSS & JavaScript from Bootstrap 3. Nothing is modularized under a common alias. For the JavaScript, it is injected into jQuery's prototype... How would it be possible to detect which version of Bootstrap is included in a…
Alerty
  • 5,945
  • 7
  • 38
  • 62
27
votes
7 answers

Display the current Git 'version' in PHP

I want to display the Git version on my site. How can I display a semantic version number from Git, that non-technical users of a site can easily reference when raising issues?
lukeocodes
  • 1,192
  • 1
  • 16
  • 31
26
votes
3 answers

Change assembly version for multiple projects

How can I change the assembly version in the file AssemblyInfo.cs for multiple projects. We have around 75 project in our solution and we need to change the version almost every week. What is the fastest way to do this.
Ramesh Soni
  • 15,867
  • 28
  • 93
  • 113
26
votes
3 answers

Best practices for versioning your services with WCF?

I'm starting to work with my model almost exclusively in WCF and wanted to get some practical approaches to versioning these services over time. Can anyone point me in the right direction?
Toran Billups
  • 27,111
  • 40
  • 155
  • 268
26
votes
4 answers

Is it possible to limit the number of versions stashed by Amazon S3's versioning?

I'm currently working on migrating the file backup system for my office to Amazon S3. The basic backup is working like a charm but I'm looking to make it a little more robust. Specifically I am looking to add version control for the files in the…
user3606089
  • 263
  • 1
  • 3
  • 4
26
votes
3 answers

Getting runtime version of a Silverlight assembly

I want to show my Silverlight 3 application's version number in the about box, but when I use a traditional .Net call like: Assembly.GetExecutingAssembly().GetName().Version; I get a MethodAccessException on the GetName() call. How am I supposed to…
Dov
  • 15,530
  • 13
  • 76
  • 177