Skip to content

Commit 38df60b

Browse files
committed
fix: update release script to auto-release on release-2.x and release/2.x branch names
1 parent deea313 commit 38df60b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

auto-release.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
const shell = require('shelljs');
22
const { branchName } = require('./scripts/utils/branch-name');
33
const isCanaryRelease = branchName === 'master';
4-
const isFullRelease = branchName === 'release-2.x';
4+
const isFullRelease =
5+
branchName === 'release-2.x' || branchName === 'release/2.x';
56
const { normalizeUrlAlias } = require('./scripts/utils/normalize-url-alias');
67
const { gitSha } = require('./scripts/utils');
78
const execSync = require('child_process').execSync;

0 commit comments

Comments
 (0)