diff --git a/index.js b/index.js index 2fa7913..bd84f83 100644 --- a/index.js +++ b/index.js @@ -55,12 +55,13 @@ Toolkit.run(async tools => { newVersion = `${process.env['INPUT_TAG-PREFIX']}${newVersion}` console.log('new version:', newVersion) // await tools.runInWorkspace('git', ['commit', '-a', '-m', `ci: ${commitMessage} ${newVersion}`]) - + console.log('before remoteRepo') 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']) + console.log('after git push') } catch (e) { tools.log.fatal(e) tools.exit.failure('Failed to bump version')