From 60f92aab366c87f2b61cd568cebce8e4944b1681 Mon Sep 17 00:00:00 2001 From: Manuel Wiedenmann Date: Thu, 26 Oct 2023 13:40:19 +0200 Subject: [PATCH] Remove obsolete config changelog.js and release.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We use `release-it` and `@release-it-plugins/lerna-changelog` now. It’s config is in `package.json`. --- tests/dummy/config/changelog.js | 21 --------------------- tests/dummy/config/release.js | 24 ------------------------ 2 files changed, 45 deletions(-) delete mode 100644 tests/dummy/config/changelog.js delete mode 100644 tests/dummy/config/release.js diff --git a/tests/dummy/config/changelog.js b/tests/dummy/config/changelog.js deleted file mode 100644 index 7900629f..00000000 --- a/tests/dummy/config/changelog.js +++ /dev/null @@ -1,21 +0,0 @@ -/* eslint-env node */ - -// For details on each option run `ember help release` -module.exports = { - // angular style guide: https://github.com/angular/angular.js/blob/v1.4.8/CONTRIBUTING.md#commit - // jquery style guide: https://contribute.jquery.org/commits-and-pull-requests/#commit-guidelines - // ember style guide: https://github.com/emberjs/ember.js/blob/master/CONTRIBUTING.md#commit-tagging - style: 'angular', // 'ember' 'jquery' - - head: 'master', - base: '-last', // a branch or tag name, `-last` defaults to the version in package.json - - hooks: { - /* - parser: function(commit) { return commit; } - filter: function(commit) { return true; }, - groupSort: function(commits) { return { commits: commits }; }, - format: function(commit) { return commit.title; }, - */ - }, -}; diff --git a/tests/dummy/config/release.js b/tests/dummy/config/release.js deleted file mode 100644 index 3abbe6ee..00000000 --- a/tests/dummy/config/release.js +++ /dev/null @@ -1,24 +0,0 @@ -/* eslint-env node */ - -var execSync = require('child_process').execSync; - -module.exports = { - publish: true, - - afterPublish: function (project, versions) { - runCommand( - 'ember github-pages:commit --message "Released ' + versions.next + '"' - ); - runCommand('git push origin gh-pages:gh-pages'); - }, -}; - -function runCommand(command) { - // eslint-disable-next-line no-console - console.log('running: ' + command); - - var output = execSync(command, { encoding: 'utf8' }); - - // eslint-disable-next-line no-console - console.log(output); -}