fix: rename default branch
This commit is contained in:
		
							parent
							
								
									d6d1bc954e
								
							
						
					
					
						commit
						7a9922a492
					
				| @ -7,11 +7,11 @@ node_js: | |||||||
|   - 10 |   - 10 | ||||||
|   - 8 |   - 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) | # Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147) | ||||||
| branches: | branches: | ||||||
|   only: |   only: | ||||||
|     - caribou |     - master | ||||||
|     - /^greenkeeper.*$/ |     - /^greenkeeper.*$/ | ||||||
| 
 | 
 | ||||||
| # Retry install on fail to avoid failing a build on network/disk/external errors | # Retry install on fail to avoid failing a build on network/disk/external errors | ||||||
|  | |||||||
| @ -5,10 +5,10 @@ | |||||||
|     <img alt="Gitter" src="https://badges.gitter.im/semantic-release/semantic-release.svg"> |     <img alt="Gitter" src="https://badges.gitter.im/semantic-release/semantic-release.svg"> | ||||||
|   </a> |   </a> | ||||||
|   <a href="https://travis-ci.org/semantic-release/semantic-release"> |   <a href="https://travis-ci.org/semantic-release/semantic-release"> | ||||||
|     <img alt="Travis" src="https://img.shields.io/travis/semantic-release/semantic-release/caribou.svg"> |     <img alt="Travis" src="https://img.shields.io/travis/semantic-release/semantic-release/master.svg"> | ||||||
|   </a> |   </a> | ||||||
|   <a href="https://codecov.io/gh/semantic-release/semantic-release"> |   <a href="https://codecov.io/gh/semantic-release/semantic-release"> | ||||||
|     <img alt="Codecov" src="https://img.shields.io/codecov/c/github/semantic-release/semantic-release/caribou.svg"> |     <img alt="Codecov" src="https://img.shields.io/codecov/c/github/semantic-release/semantic-release/master.svg"> | ||||||
|   </a> |   </a> | ||||||
|   <a href="https://greenkeeper.io"> |   <a href="https://greenkeeper.io"> | ||||||
|     <img alt="Greenkeeper" src="https://badges.greenkeeper.io/semantic-release/semantic-release.svg"> |     <img alt="Greenkeeper" src="https://badges.greenkeeper.io/semantic-release/semantic-release.svg"> | ||||||
|  | |||||||
| @ -16,7 +16,7 @@ if (!semver.satisfies(process.version, pkg.engines.node)) { | |||||||
|   console.error( |   console.error( | ||||||
|     `[semantic-release]: node version ${pkg.engines.node} is required. Found ${process.version}.
 |     `[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); |   process.exit(1); | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,2 +0,0 @@ | |||||||
| codecov: |  | ||||||
|   branch: caribou |  | ||||||
| @ -35,7 +35,7 @@ | |||||||
| 
 | 
 | ||||||
| ## Community plugins | ## 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) | - [semantic-release-docker](https://github.com/felixfbecker/semantic-release-docker) | ||||||
|   - `verifyConditions`: Verify that all needed configuration is present and login to the Docker registry. |   - `verifyConditions`: Verify that all needed configuration is present and login to the Docker registry. | ||||||
|  | |||||||
| @ -6,7 +6,7 @@ const {RELEASE_TYPE} = require('./constants'); | |||||||
| 
 | 
 | ||||||
| const homepage = url.format({...url.parse(pkg.homepage), hash: null}); | 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 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 = { | module.exports = { | ||||||
|   ENOGITREPO: ({cwd}) => ({ |   ENOGITREPO: ({cwd}) => ({ | ||||||
|  | |||||||
| @ -112,9 +112,6 @@ | |||||||
|   "publishConfig": { |   "publishConfig": { | ||||||
|     "tag": "next" |     "tag": "next" | ||||||
|   }, |   }, | ||||||
|   "release": { |  | ||||||
|     "branch": "caribou" |  | ||||||
|   }, |  | ||||||
|   "repository": { |   "repository": { | ||||||
|     "type": "git", |     "type": "git", | ||||||
|     "url": "git+https://github.com/semantic-release/semantic-release.git" |     "url": "git+https://github.com/semantic-release/semantic-release.git" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user