Skip to content

Commit

Permalink
feat: build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 12, 2020
1 parent 5d975c5 commit 88f69e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions release/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89219,13 +89219,13 @@ function changeVersionNumbers(version, project) {
for (let field of dependencyFields) {
const dependencies = (_a = packageObject[field]) !== null && _a !== void 0 ? _a : {};
for (let dependencyName of Object.keys(dependencies)) {
console.log(`old dependency ${dependencyName}`);
console.log(`old field ${field}`);
dependencyName = dependencyName.replace('.', '\\.');
field = field.replace('.', '\\.');
console.log(`new dependency ${dependencyName}`);
console.log(`new field ${field}`);
if (workspaceNames.includes(dependencyName)) {
console.log(`old dependency ${dependencyName}`);
console.log(`old field ${field}`);
dependencyName = dependencyName.replace('.', '\\.');
field = field.replace('.', '\\.');
console.log(`new dependency ${dependencyName}`);
console.log(`new field ${field}`);
const key = `${field}.${dependencyName}`;
console.log(`version ${version}`);
console.log(`set ${key}`);
Expand Down

0 comments on commit 88f69e1

Please sign in to comment.