Skip to content

Commit e3ccf15

Browse files
authored
chore: experimental release script (#11164)
1 parent a6a86e8 commit e3ccf15

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/actions/release.cjs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ const OTP = options.otp;
2020

2121
const run = async () => {
2222
const { globby } = await import("globby");
23-
let FILES = await globby(["packages/*/package.json", "!packages/playground/package.json", "!packages/website/package.json"]);
23+
let FILES = await globby([
24+
"packages/*/package.json",
25+
"!packages/playground/package.json",
26+
"!packages/website/package.json",
27+
"!packages/cypress-internal/package.json",
28+
"!packages/cypress-ct-ui5-webc/package.json"
29+
]);
2430

2531
// Step 1: process package.json files
2632
const pkgs = await Promise.all(FILES.map(processPackageJSON));
@@ -38,7 +44,7 @@ const processPackageJSON = async file => {
3844
const fileContent = JSON.parse(fileRead.toString());
3945
const name = fileContent.name;
4046

41-
const version = NEW_VERSION || `0.0.0-${gitRev.slice(0,9,)}`;
47+
const version = NEW_VERSION || `0.0.0-${gitRev.slice(0, 9,)}`;
4248

4349
PACKAGES[name] = { name, file, fileContent, version, folder };
4450
return PACKAGES[name];

0 commit comments

Comments
 (0)