rm log
This commit is contained in:
parent
371496abef
commit
c2dce8479a
1
index.js
1
index.js
|
@ -38,7 +38,6 @@ Toolkit.run(async tools => {
|
||||||
await tools.runInWorkspace('git', ['commit', '-a', '-m', `"ci: ${commitMessage} ${newVersion}"`])
|
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`
|
const remoteRepo = `https://${process.env.GITHUB_ACTOR}:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git`
|
||||||
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'])
|
||||||
|
|
Loading…
Reference in New Issue