Skip to content

Commit aa460f1

Browse files
authored
debug: inline remote
1 parent b165131 commit aa460f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

merge-release-run.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ const run = async () => {
6060
exec(`npm publish`)
6161
exec(`git checkout package.json`) // cleanup
6262
exec(`git tag ${newVersion}`)
63-
exec(`git push merge-release --tags`)
63+
const env = process.env
64+
const remote = `https://${env.GITHUB_ACTOR}:${env.GITHUB_TOKEN}@github.com/${env.GITHUB_REPOSITORY}.git`
65+
exec(`git push ${remote} --tags`)
6466
}
6567
run()

0 commit comments

Comments
 (0)