mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
fix strategy 'Tag' versioning (#287)
* fix - remove \n in getTag method * build ts * recommit
This commit is contained in:
parent
3ebdb0e678
commit
c317d144c3
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user