release-please
Advanced tools
Comparing version 6.8.3 to 6.9.0
@@ -24,2 +24,3 @@ "use strict"; | ||
const readme_1 = require("../updaters/terraform/readme"); | ||
const module_version_1 = require("../updaters/terraform/module-version"); | ||
class TerraformModule extends release_pr_1.ReleasePR { | ||
@@ -64,2 +65,13 @@ async _run() { | ||
})); | ||
// Update versions.tf to current candidate version. | ||
// A module may have submodules, so find all versions.tf to update. | ||
const versionFiles = await this.gh.findFilesByFilename('versions.tf'); | ||
versionFiles.forEach(path => { | ||
updates.push(new module_version_1.ModuleVersion({ | ||
path: this.addPath(path), | ||
changelogEntry, | ||
version: candidate.version, | ||
packageName: this.packageName, | ||
})); | ||
}); | ||
await this.openPR({ | ||
@@ -66,0 +78,0 @@ sha: commits[0].sha, |
@@ -7,2 +7,9 @@ # Changelog | ||
## [6.9.0](https://www.github.com/googleapis/release-please/compare/v6.8.3...v6.9.0) (2020-11-17) | ||
### Features | ||
* **terraform:** Add TF versions updater ([#629](https://www.github.com/googleapis/release-please/issues/629)) ([6f2007c](https://www.github.com/googleapis/release-please/commit/6f2007cfb740f4d711b20637c43cb8d63dbbda91)) | ||
### [6.8.3](https://www.github.com/googleapis/release-please/compare/v6.8.2...v6.8.3) (2020-11-16) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "release-please", | ||
"version": "6.8.3", | ||
"version": "6.9.0", | ||
"description": "generate release PRs based on the conventionalcommits.org spec", | ||
@@ -5,0 +5,0 @@ "main": "./build/src/index.js", |
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
276563
431270
106
4989