File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
const shell = require ( 'shelljs' ) ;
2
- const isCanaryRelease = branchName === 'master' ;
3
- const isFullRelease =
4
- branchName === 'release-2.x' || branchName === 'release/2.x' ;
5
- const execSync = require ( 'child_process' ) . execSync ;
6
- const { spawn } = require ( 'child_process' ) ;
7
2
const { IncomingWebhook } = require ( '@slack/webhook' ) ;
8
3
const chalk = require ( 'chalk' ) ;
9
4
const semver = require ( 'semver' ) ;
@@ -13,6 +8,10 @@ const { normalizeUrlAlias } = require('./scripts/utils/normalize-url-alias');
13
8
const { branchName } = require ( './scripts/utils/branch-name' ) ;
14
9
const { NOW_TOKEN } = process . env ;
15
10
11
+ const isCanaryRelease = branchName === 'master' ;
12
+ const isFullRelease =
13
+ branchName === 'release-2.x' || branchName === 'release/2.x' ;
14
+
16
15
const lernaConfig = require ( './lerna.json' ) ;
17
16
const currentVersion = lernaConfig . version ;
18
17
You can’t perform that action at this time.
0 commit comments