Compare commits

...

1 Commits

Author SHA1 Message Date
Estellise Yukihime
c317d144c3 fix strategy 'Tag' versioning (#287)
* fix - remove \n in getTag method

* build ts

* recommit
2021-09-06 18:31:24 +02:00
3 changed files with 2122 additions and 2122 deletions

4240
dist/index.js generated vendored

File diff suppressed because it is too large Load Diff

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -265,7 +265,7 @@ export default class Versioning {
* Get the tag if there is one pointing at HEAD
*/
static async getTag() {
return this.git(['tag', '--points-at', 'HEAD']);
return (await this.git(['tag', '--points-at', 'HEAD'])).trim();
}
/**