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
37
votes
3 answers

How do you handle api version in a Node/Express app

I am pretty new to Node.js and I am facing the following issue. My middleware started with the link api/v1/login and a bunch of endpoints. Then api/v1.1 introduced 2 more endpoints. api/v1.2 is now the last and got some new endpoints. How shall I…
Paolo.nl
  • 431
  • 1
  • 4
  • 7
36
votes
3 answers

Github Action different between release created and published

since Github Releases are actually a Git Tags, I want to auto-upgrade my package.json version when there is a new Release (and tag), with Github Action. I know I need to trigger a job on: release, but according to Github Actions docs I don't know if…
baruchiro
  • 5,088
  • 5
  • 44
  • 66
36
votes
4 answers

How should I update the version inside my pom.xml when releasing using git flow?

In maven projects the version of a project is contained in the attritbute of the pom.xml file. When creating a new release in the git flow model I need to bumb the version number. This article explains how this is done (without…
yankee
  • 38,872
  • 15
  • 103
  • 162
35
votes
1 answer

How to version products inside monorepo?

I have been educating myself about monorepos as I believe it is a great solution for my team and the current state of our projects. We have multiple web products (Client portal, Internal Portal, API, Core shared code). Where I am struggling to find…
35
votes
2 answers

.Net AssemblyName.version Build versus Revision

The MSDN documentation states: Version numbers consist of two to four components: major, minor, build, and revision. The major and minor components are required; the build and revision components are optional, but the build component is…
PaoloFCantoni
  • 967
  • 2
  • 12
  • 26
35
votes
5 answers

Referencing different versions of the same assembly

If A references assembly B 1.1 and C, and C references B 1.2, how do you avoid assembly conflicts? I naively assumed C's references would be encapsulated away and would not cause any problems, but it appears all the dll's are copied to the bin,…
Dan
  • 29,100
  • 43
  • 148
  • 207
34
votes
3 answers

Detect application version change on a single page application

today a question was raised here and I don't have an evident answer. Assume that we concatenate and minify all resource files (CSS and Javascript) and declare them in the "Master-Page". On a multi-page app, if a CSS file changes it will be recharged…
AlexCode
  • 4,055
  • 4
  • 33
  • 46
33
votes
4 answers

ASP.NET - show application build date/info at the bottom of the screen

I have a asp.net web application which has a number of versions deployed on different customer servers inside their networks. One practice that we have is to have clients email screenshots when they have issues. In the old asp.net 1.1 days, we…
pearcewg
  • 9,545
  • 21
  • 79
  • 125
32
votes
9 answers

Where do you store your Rails Application's version number?

We use the wonderful semantic versioning paradigm when versioning our rails app. One question I had was where is it best to store this number? I've seen it stored in /lib, environment.rb, etc. Just wondering what people thought as to best…
Greg Olsen
  • 912
  • 1
  • 9
  • 14
32
votes
4 answers

Git: Manage each version of my app?

I am using git and github, and I just finished the 1.0 version of my iOS app. From here, I am wondering how git can best serve me. I really am just looking for a best practice here, and what others recommend for managing major versions. Should I…
Nic Hubbard
  • 41,587
  • 63
  • 251
  • 412
32
votes
1 answer

FileVersionInfo and AssemblyInfo

Given this snippet from Blah.dll's AssemblyInfo.cs: [assembly: AssemblyVersion("3.3.3.3")] [assembly: AssemblyFileVersion("2.2.2.2")] And then in a separate .exe: var fileInfo =…
ecoffey
  • 3,423
  • 4
  • 23
  • 22
32
votes
3 answers

Using 2 different versions of the same dll?

I have been given 2 pre-compiled dlls: Common.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f3b12eb6de839f43, processorArchitecture=MSIL Common.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=f3b12eb6de839f43,…
jayars
  • 1,347
  • 3
  • 13
  • 25
32
votes
5 answers

Why are there so few versioning file systems?

I did some literature research about versioning file systems. Versioning was already common practice in the very early operating systems such as the influential but almost forgotten Incompatible Timesharing System (ITS) and TENEX. OpenVMS, the…
Jakob
  • 3,570
  • 3
  • 36
  • 49
32
votes
3 answers

Keep user's settings after altering assembly/file version

Background I have a simple WinForms application written in C#. I debated deployment solutions for a while but ultimately decided to abandon ClickOnce as a few of the constraints were crucially restrictive. Instead, I've adapted a simple solution of…
Tyler Daniels
  • 613
  • 6
  • 19
31
votes
4 answers

How do I get the ClickOnce Publish version to match the AssemblyInfo.cs File version?

Every time I publish the application in ClickOnce I get get it to update the revision number by one. Is there a way to get this change automatically to change the version number in AssemblyInfo.cs file (all our error reporting looks at the Assembly…
Kris Erickson
  • 33,454
  • 26
  • 120
  • 175