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