Skip to content

Commit a6942b4

Browse files
committed
chore(ci): v2 release line
1 parent d5a887a commit a6942b4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Diff for: .github/scripts/release_patch_package_json.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ const betaPackages = [];
6262
readFileSync(resolve('..', '..', 'v2.json'), 'utf8')
6363
).iteration;
6464
version = `${version}-alpha.${iteration}`;
65+
dependencies &&
66+
Object.entries(dependencies).forEach(([dependencyName, version]) => {
67+
if (alphaPackages.includes(dependencyName)) {
68+
dependencies[dependencyName] = `${version}-alpha.${iteration}`;
69+
}
70+
});
6571
} else if (betaPackages.includes(name)) {
6672
version = `${version}-beta`;
6773
}
@@ -84,9 +90,6 @@ const betaPackages = [];
8490
types,
8591
files,
8692
type,
87-
scripts: {
88-
postinstall: `echo 'WARNING: This is a pre-release version of Powertools for AWS (TypeScript) provided for evaluation only. Do not use in production.'`,
89-
},
9093
};
9194

9295
// Not all utilities have these fields, so only add them if they exist to avoid

0 commit comments

Comments
 (0)