try to fix the git push command

This commit is contained in:
phips28 2019-10-26 22:25:37 +02:00
parent 86db9e0a77
commit e86e989e2e
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ 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)
tools.exit.failure('Failed to bump version') tools.exit.failure('Failed to bump version')