Skip to content

Commit f8a71cd

Browse files
committed
Add default name support to release commands
1 parent 177c51f commit f8a71cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildSrc/src/main/java/com/google/firebase/gradle/plugins/PublishingPlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ abstract class PublishingPlugin : Plugin<Project> {
191191
allFirebaseLibraries: List<FirebaseLibraryExtension>
192192
): ReleaseMetadata? {
193193
val projectsToPublish = project.provideProperty<String>("projectsToPublish").orNull
194-
val releaseName = project.provideProperty<String>("releaseName").orNull
194+
val releaseName = project.provideProperty<String>("releaseName").orNull ?: "NO_NAME"
195195

196-
if (projectsToPublish == null || releaseName == null) return null
196+
if (projectsToPublish == null) return null
197197

198198
val projectNames = projectsToPublish.split(",")
199199
val librariesToRelease =

0 commit comments

Comments
 (0)