File tree Expand file tree Collapse file tree
plugins/src/main/java/com/google/firebase/gradle/plugins Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -665,8 +665,9 @@ abstract class PublishingPlugin : Plugin<Project> {
665665 currentRelease.convention(project.provideProperty(" currentRelease" ))
666666 pastRelease.convention(project.provideProperty(" pastRelease" ))
667667 printReleaseConfig.convention(project.provideProperty(" printOutput" ))
668- commitsToIgnoreFile.convention(project.layout.projectDirectory.file(" ignoreCommits.txt" ))
669-
668+ project.layout.projectDirectory.file(" ignoreCommits.txt" ).let {
669+ if (it.asFile.exists()) commitsToIgnoreFile.convention(it)
670+ }
670671 releaseConfigFile.convention(project.layout.projectDirectory.file(RELEASE_CONFIG_FILE ))
671672 releaseReportJsonFile.convention(
672673 project.layout.projectDirectory.file(RELEASE_REPORT_JSON_FILE )
You can’t perform that action at this time.
0 commit comments