Skip to content

Commit

Permalink
fix: update config file name in command based on README.md (#357)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: we were accepting .version.json as a config file, rather than .versionrc.json
  • Loading branch information
mrastiak authored and bcoe committed May 14, 2019
1 parent 32370d6 commit ce44dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.js
Expand Up @@ -2,7 +2,7 @@ const findUp = require('find-up')
const defaults = require('./defaults')
const { readFileSync } = require('fs')

const configPath = findUp.sync(['.versionrc', '.version.json'])
const configPath = findUp.sync(['.versionrc', '.versionrc.json'])
const config = configPath ? JSON.parse(readFileSync(configPath)) : {}
const spec = require('conventional-changelog-config-spec')
const { START_OF_LAST_RELEASE_PATTERN } = require('./lib/lifecycles/changelog')
Expand Down

0 comments on commit ce44dd2

Please sign in to comment.