@cmflow/cli 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmflow/cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "An awesome Git Flow",
5
5
  "author": "camfou",
6
6
  "license": "MIT",
@@ -119,10 +119,10 @@ export function getConfig () {
119
119
  RELEASE_CANDIDATE_TAG: '[MEP]',
120
120
  ORIGIN: 'origin',
121
121
  get PRODUCTION_BRANCH () {
122
- return get('flow.branch.production') || process.env.PRODUCTION_BRANCH || 'production'
122
+ return get(pkg, 'flow.branch.production') || process.env.PRODUCTION_BRANCH || 'production'
123
123
  },
124
124
  get DEVELOP_BRANCH () {
125
- return get('flow.branch.develop') || process.env.DEVELOP_BRANCH || 'master'
125
+ return get(pkg, 'flow.branch.develop') || process.env.DEVELOP_BRANCH || 'master'
126
126
  },
127
127
  get OWNER () {
128
128
  return process.env.OWNER || owner
@@ -10,5 +10,5 @@ export async function analyzeCommits (pluginConfig, context) {
10
10
  context.nextRelease.type = analyzedCommits
11
11
  context.nextRelease.version = calculateSnapshotVersion(context)
12
12
  context.lastRelease.version = null
13
- return analyzedCommits
13
+ return 'patch'
14
14
  }