From e86e989e2e9b76291f0949e4c57c2c902d31593f Mon Sep 17 00:00:00 2001 From: phips28 Date: Sat, 26 Oct 2019 22:25:37 +0200 Subject: [PATCH] try to fix the git push command --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 5ad023e..8078b35 100644 --- a/index.js +++ b/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')