From a9ab9607e46ae0cd72a79cf32e203243321deab6 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Fri, 5 Apr 2019 14:08:13 +0200 Subject: [PATCH] Clean up commented-out code --- merge-release-run.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/merge-release-run.js b/merge-release-run.js index 57780ec..29496ce 100644 --- a/merge-release-run.js +++ b/merge-release-run.js @@ -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