From 83141b33b331c146a60e1882cea23a2b41327ca8 Mon Sep 17 00:00:00 2001 From: phips28 Date: Sun, 27 Oct 2019 01:55:55 +0200 Subject: [PATCH] print remoteRepo buffer --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c8cf423..48fcdbe 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ Toolkit.run(async tools => { await tools.runInWorkspace('git', ['commit', '-a', '-m', `"ci: ${commitMessage} ${newVersion}"`]) const remoteRepo = `https://${process.env.GITHUB_ACTOR}:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git` - + console.log(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'])