Use ref instead of tag vs branch
parent
a245f08e75
commit
866f364f64
File diff suppressed because one or more lines are too long
|
@ -162,8 +162,7 @@ export default class Versioning {
|
|||
* identifies the current commit.
|
||||
*/
|
||||
static async getVersionDescription() {
|
||||
const commitIsh = (await this.getTag()) || `origin/${this.branch}`;
|
||||
return this.git(['describe', '--long', '--tags', '--always', '--debug', commitIsh]);
|
||||
return this.git(['describe', '--long', '--tags', '--always', '--debug', this.ref]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue