diff --git a/src/model/versioning.js b/src/model/versioning.js index e3293c99..8bbb4528 100644 --- a/src/model/versioning.js +++ b/src/model/versioning.js @@ -162,7 +162,7 @@ export default class Versioning { * identifies the current commit. */ static async getVersionDescription() { - const commitIsh = this.getTag() || `origin/${this.branch}`; + const commitIsh = (await this.getTag()) || `origin/${this.branch}`; return this.git(['describe', '--long', '--tags', '--always', '--debug', commitIsh]); }