Clean up commented-out code

This commit is contained in:
Olle Jonsson 2019-04-05 14:08:13 +02:00 提交者 GitHub
父节点 f0002b6c97
当前提交 a9ab9607e4
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 0 次插入10 次删除

查看文件

@ -5,11 +5,6 @@ const fs = require('fs')
const path = require('path')
const { execSync } = require('child_process')
/* Configure git */
//fs.writeFileSync('git-credentials')
//execSync('git
const event = JSON.parse(fs.readFileSync('/github/workflow/event.json').toString())
let messages = event.commits.map(commit => commit.message)
@ -27,8 +22,3 @@ process.stdout.write(execSync(`npm version --allow-same-version=true --git-tag-v
let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString()
console.log(newVersion)
process.stdout.write(execSync(`npm publish --access=public`))
/*
process.stdout.write(execSync(`git tag -a ${newVersion} -m "Created by merge-release.\n\n##Changelog:\n${messages.join('\n')}"`))
process.stdout.write(execSync(`git push --tags`))
*/
// npm version minor && npm publish --access=public && git push --tags