try to fix the git push command
This commit is contained in:
parent
bede79d845
commit
86db9e0a77
2
index.js
2
index.js
|
@ -41,7 +41,7 @@ Toolkit.run(async tools => {
|
||||||
console.log('remoteRepo:', Buffer.from(remoteRepo).toString('base64'))
|
console.log('remoteRepo:', Buffer.from(remoteRepo).toString('base64'))
|
||||||
|
|
||||||
await tools.runInWorkspace('git', ['tag', newVersion])
|
await tools.runInWorkspace('git', ['tag', newVersion])
|
||||||
await tools.runInWorkspace('git', [`push "${remoteRepo}"`, '--follow-tags'])
|
await tools.runInWorkspace(`git push "${remoteRepo}"`, ['--follow-tags'])
|
||||||
await tools.runInWorkspace('git', [`push "${remoteRepo}"`, '--tags'])
|
await tools.runInWorkspace('git', [`push "${remoteRepo}"`, '--tags'])
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
tools.log.fatal(e)
|
tools.log.fatal(e)
|
||||||
|
|
Loading…
Reference in New Issue