release-please
Advanced tools
Comparing version 13.4.13 to 13.4.14
@@ -105,2 +105,9 @@ "use strict"; | ||
const updatedPackage = pkg.clone(); | ||
// Update version of the package | ||
const newVersion = updatedVersions.get(updatedPackage.name); | ||
if (newVersion) { | ||
logger_1.logger.info(`Updating ${updatedPackage.name} to ${newVersion}`); | ||
updatedPackage.version = newVersion.toString(); | ||
} | ||
// Update dependency versions | ||
for (const [depName, resolved] of graphPackage.localDependencies) { | ||
@@ -120,3 +127,6 @@ const depVersion = updatedVersions.get(depName); | ||
else if (update.updater instanceof changelog_1.Changelog) { | ||
update.updater.changelogEntry = appendDependenciesSectionToChangelog(update.updater.changelogEntry, dependencyNotes); | ||
if (dependencyNotes) { | ||
update.updater.changelogEntry = | ||
appendDependenciesSectionToChangelog(update.updater.changelogEntry, dependencyNotes); | ||
} | ||
} | ||
@@ -148,2 +158,8 @@ return update; | ||
const updatedPackage = pkg.clone(); | ||
// Update version of the package | ||
const newVersion = updatedVersions.get(updatedPackage.name); | ||
if (newVersion) { | ||
logger_1.logger.info(`Updating ${updatedPackage.name} to ${newVersion}`); | ||
updatedPackage.version = newVersion.toString(); | ||
} | ||
for (const [depName, resolved] of graphPackage.localDependencies) { | ||
@@ -179,3 +195,3 @@ const depVersion = updatedVersions.get(depName); | ||
version, | ||
changelogEntry: dependencyNotes, | ||
changelogEntry: appendDependenciesSectionToChangelog('', dependencyNotes), | ||
}), | ||
@@ -182,0 +198,0 @@ }, |
{ | ||
"name": "release-please", | ||
"version": "13.4.13", | ||
"version": "13.4.14", | ||
"description": "generate release PRs based on the conventionalcommits.org spec", | ||
@@ -5,0 +5,0 @@ "main": "./build/src/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
618348
11768