@cmflow/cli 0.66.0 → 0.66.1

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": "0.66.0",
3
+ "version": "0.66.1",
4
4
  "description": "An awesome Git Flow",
5
5
  "author": "camfou",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@ async function gitPrepareRelease (pluginConfig, context) {
21
21
  }
22
22
 
23
23
  export async function prepare (pluginConfig, context) {
24
- const { branch, config: { RELEASE_CANDIDATE_TAG, HAS_BUILD, HAS_E2E, SKIP_DEPLOY, SKIP_GITHUB_PUBLISH }, logger } = context
24
+ const { branch, config: { RELEASE_CANDIDATE_TAG, HAS_BUILD, HAS_E2E, E2E_CMD, SKIP_DEPLOY, SKIP_GITHUB_PUBLISH }, logger } = context
25
25
  const pkgManager = context.config.HAS_YARN ? yarn : npm
26
26
 
27
27
  pkgManager.newVersion(context.nextRelease.version)
@@ -38,7 +38,7 @@ export async function prepare (pluginConfig, context) {
38
38
 
39
39
  if (HAS_E2E && !SKIP_DEPLOY) {
40
40
  logger.info('Start test_e2e task')
41
- await pkgManager.run('test_e2e')
41
+ await pkgManager.run(E2E_CMD || 'test_e2e')
42
42
  logger.info('test_e2e task finished with success...')
43
43
  }
44
44