Skip to content

Commit

Permalink
Fixup version string for appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
NaterGator committed Jan 29, 2016
1 parent 1f1746a commit 8d0ed82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGCCommon.pri
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ MobileBuild {
exists ($$PWD/.git) {
GIT_DESCRIBE = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags)
GIT_HASH = $$system(git rev-parse HEAD)
VERSION = $$replace(GIT_DESCRIBE, "v", "")
VERSION = $$section($$replace($$replace(GIT_DESCRIBE, "v", ""), "-", "."), ".", 0, 3)
message(QGroundControl version $${GIT_DESCRIBE} hash $${GIT_HASH})
} else {
GIT_DESCRIBE = None
Expand Down

0 comments on commit 8d0ed82

Please sign in to comment.