Better handling of version string
This is a quick (and probably dirty) solution that assumes we don't do *.pre
releases anymore and handles the following usecases
- v1.1.1 (version string with appending
v
) - 1.1.1 (version without appending
v
) - master (branch name)
- 1234aqsdf34adf234 (SHA)
buildfrombranch:my-feature-1 (actually, this is already handled by case 3)
Closes #2085 (closed)