aboutsummaryrefslogtreecommitdiff
path: root/tools/qbs/GitRepo.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qbs/GitRepo.js')
-rw-r--r--tools/qbs/GitRepo.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/qbs/GitRepo.js b/tools/qbs/GitRepo.js
index 04021c8..f3431f9 100644
--- a/tools/qbs/GitRepo.js
+++ b/tools/qbs/GitRepo.js
@@ -5,11 +5,8 @@ function read(workingDirectory) {
git.setWorkingDirectory(workingDirectory);
var meta = Object.create(null);
- git.exec("git", ["describe", "--abbrev=0", "--tag"], true);
- meta.version = git.readLine();
-
git.exec("git", ["describe", "--long"], true);
- meta.describe = git.readLine();
+ meta.version = git.readLine();
return meta;
}