Commit e842fd7a authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5757 from DonLakeFlyer/Versioning

Allow version numbers greater than 9
parents 0a97dcf7 752ef494
......@@ -116,7 +116,7 @@ exists ($$PWD/.git) {
GIT_TIME = $$system(git --git-dir $$PWD/.git --work-tree $$PWD show --oneline --format=\"%ci\" -s HEAD)
# determine if we're on a tag matching vX.Y.Z (stable release)
contains(GIT_DESCRIBE, v[0-9].[0-9].[0-9]) {
contains(GIT_DESCRIBE, v[0-9]+.[0-9]+.[0-9]+) {
# release version "vX.Y.Z"
GIT_VERSION = $${GIT_DESCRIBE}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment