diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-02 19:53:44 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-02 19:53:44 +0800 |
commit | 1346fa792a381cb4268b79a2167b560d44397db1 (patch) | |
tree | 4e1ba46fb12235cf07ae0bcdcc1bdf24817f5fda /packages/monorepo-scripts/src/utils | |
parent | b763cdbd4cadf151666eda4567be1d8a662877d5 (diff) | |
download | dexon-sol-tools-1346fa792a381cb4268b79a2167b560d44397db1.tar dexon-sol-tools-1346fa792a381cb4268b79a2167b560d44397db1.tar.gz dexon-sol-tools-1346fa792a381cb4268b79a2167b560d44397db1.tar.bz2 dexon-sol-tools-1346fa792a381cb4268b79a2167b560d44397db1.tar.lz dexon-sol-tools-1346fa792a381cb4268b79a2167b560d44397db1.tar.xz dexon-sol-tools-1346fa792a381cb4268b79a2167b560d44397db1.tar.zst dexon-sol-tools-1346fa792a381cb4268b79a2167b560d44397db1.zip |
Add logs for when tags get removed
Diffstat (limited to 'packages/monorepo-scripts/src/utils')
-rw-r--r-- | packages/monorepo-scripts/src/utils/utils.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/src/utils/utils.ts b/packages/monorepo-scripts/src/utils/utils.ts index b5d139de3..7019f9241 100644 --- a/packages/monorepo-scripts/src/utils/utils.ts +++ b/packages/monorepo-scripts/src/utils/utils.ts @@ -109,6 +109,7 @@ export const utils = { if (!_.isEmpty(result.stderr)) { throw new Error(`Failed to delete local git tag. Got err: ${result.stderr}`); } + this.log(`Removed local tag: ${tagName}`); }, async removeRemoteTagAsync(tagName: string): Promise<void> { const result = await execAsync(`git push origin ${tagName}`, { @@ -117,5 +118,6 @@ export const utils = { if (!_.isEmpty(result.stderr)) { throw new Error(`Failed to delete remote git tag. Got err: ${result.stderr}`); } + this.log(`Removed remote tag: ${tagName}`); }, }; |