Skip to content

Better handling of version string

Balasankar C requested to merge 2085-proper-version-string into master

This is a quick (and probably dirty) solution that assumes we don't do *.pre releases anymore and handles the following usecases

  1. v1.1.1 (version string with appending v)
  2. 1.1.1 (version without appending v)
  3. master (branch name)
  4. 1234aqsdf34adf234 (SHA)
  5. buildfrombranch:my-feature-1 (actually, this is already handled by case 3)

Closes #2085 (closed)

Merge request reports