From 7a9922a4929780bf4355b3cd52ba74b2adbe2125 Mon Sep 17 00:00:00 2001 From: Pierre Vanduynslager Date: Fri, 23 Nov 2018 22:25:21 -0500 Subject: [PATCH] fix: rename default branch --- .travis.yml | 4 ++-- README.md | 4 ++-- bin/semantic-release.js | 2 +- codecov.yml | 2 -- docs/extending/plugins-list.md | 2 +- lib/definitions/errors.js | 2 +- package.json | 3 --- 7 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 codecov.yml diff --git a/.travis.yml b/.travis.yml index d4b83146..c3c0da4d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,11 +7,11 @@ node_js: - 10 - 8 -# Trigger a push build on caribou and greenkeeper branches + PRs build on every branches +# Trigger a push build on master and greenkeeper branches + PRs build on every branches # Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147) branches: only: - - caribou + - master - /^greenkeeper.*$/ # Retry install on fail to avoid failing a build on network/disk/external errors diff --git a/README.md b/README.md index df97a25f..c402a4e8 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,10 @@ Gitter - Travis + Travis - Codecov + Codecov Greenkeeper diff --git a/bin/semantic-release.js b/bin/semantic-release.js index 58d62174..cbd697e9 100755 --- a/bin/semantic-release.js +++ b/bin/semantic-release.js @@ -16,7 +16,7 @@ if (!semver.satisfies(process.version, pkg.engines.node)) { console.error( `[semantic-release]: node version ${pkg.engines.node} is required. Found ${process.version}. -See https://github.com/semantic-release/semantic-release/blob/caribou/docs/support/node-version.md for more details and solutions.` +See https://github.com/semantic-release/semantic-release/blob/master/docs/support/node-version.md for more details and solutions.` ); process.exit(1); } diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index e0f07ccd..00000000 --- a/codecov.yml +++ /dev/null @@ -1,2 +0,0 @@ -codecov: - branch: caribou diff --git a/docs/extending/plugins-list.md b/docs/extending/plugins-list.md index 3f30bcc5..3d1bcfff 100644 --- a/docs/extending/plugins-list.md +++ b/docs/extending/plugins-list.md @@ -35,7 +35,7 @@ ## Community plugins -[Open a Pull Request](https://github.com/semantic-release/semantic-release/blob/caribou/CONTRIBUTING.md#submitting-a-pull-request) to add your plugin to the list. +[Open a Pull Request](https://github.com/semantic-release/semantic-release/blob/master/CONTRIBUTING.md#submitting-a-pull-request) to add your plugin to the list. - [semantic-release-docker](https://github.com/felixfbecker/semantic-release-docker) - `verifyConditions`: Verify that all needed configuration is present and login to the Docker registry. diff --git a/lib/definitions/errors.js b/lib/definitions/errors.js index d5eddb29..96945df3 100644 --- a/lib/definitions/errors.js +++ b/lib/definitions/errors.js @@ -6,7 +6,7 @@ const {RELEASE_TYPE} = require('./constants'); const homepage = url.format({...url.parse(pkg.homepage), hash: null}); const stringify = obj => (isString(obj) ? obj : inspect(obj, {breakLength: Infinity, depth: 2, maxArrayLength: 5})); -const linkify = file => `${homepage}/blob/caribou/${file}`; +const linkify = file => `${homepage}/blob/master/${file}`; module.exports = { ENOGITREPO: ({cwd}) => ({ diff --git a/package.json b/package.json index 3256cccc..b7eb7bd3 100644 --- a/package.json +++ b/package.json @@ -112,9 +112,6 @@ "publishConfig": { "tag": "next" }, - "release": { - "branch": "caribou" - }, "repository": { "type": "git", "url": "git+https://github.com/semantic-release/semantic-release.git"