From c194f80237d89422aae6e2ba4c11b86c6cce9343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20L=C3=B3pez=20Ma=C3=B1as?= Date: Thu, 20 Jun 2024 18:14:12 +0200 Subject: [PATCH 1/4] chore: logging size --- .../src/main/kotlin/PublishingConventionPlugin.kt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt b/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt index 2dcb9e37..642fc888 100644 --- a/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt +++ b/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt @@ -91,9 +91,15 @@ class PublishingConventionPlugin : Plugin { val releasesRepoUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/") val snapshotsRepoUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/") url = if (project.version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl + val sonatypeUsername = project.findProperty("sonatypeUsername") as String? + val sonatypePassword = project.findProperty("sonatypePassword") as String? + + println("Username size: ${sonatypeUsername?.length ?: "null"}") + println("Password size: ${sonatypePassword?.length ?: "null"}") + credentials { - username = project.findProperty("sonatypeUsername") as String? - password = project.findProperty("sonatypePassword") as String? + username = sonatypeUsername + password = sonatypePassword } } } From 943c05c8e3c157b88c2d6b7ce7e85edd3cf828bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20L=C3=B3pez=20Ma=C3=B1as?= Date: Thu, 20 Jun 2024 17:18:09 +0200 Subject: [PATCH 2/4] fix: fix release step (#586) --- .releaserc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.releaserc b/.releaserc index f017199c..81956d5b 100644 --- a/.releaserc +++ b/.releaserc @@ -8,7 +8,7 @@ plugins: - files: - "build.gradle.kts" from: "\\bversion = \".*\"" - to: "version = '${nextRelease.version}'" + to: "version = \"${nextRelease.version}\"" - files: - "README.md" from: ":([0-9]+).([0-9]+).([0-9]+)" @@ -18,7 +18,7 @@ plugins: publishCmd: "./gradlew publish --warn --stacktrace" - - "@semantic-release/git" - assets: - - "build.gradle" + - "build.gradle.kts" - "*.md" - "@semantic-release/github" options: From 684dd002fd0dbdf23653fbe3e6f742712c36a050 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 20 Jun 2024 15:24:27 +0000 Subject: [PATCH 3/4] chore(release): 5.0.4 [skip ci] ## [5.0.4](https://github.com/googlemaps/android-maps-compose/compare/v5.0.3...v5.0.4) (2024-06-20) ### Bug Fixes * fix release step ([#586](https://github.com/googlemaps/android-maps-compose/issues/586)) ([e5dc195](https://github.com/googlemaps/android-maps-compose/commit/e5dc195ddfcf860b420900179563f73ff6263df0)) * Return early in rememberComposeBitmapDescriptor for invalid view size ([#533](https://github.com/googlemaps/android-maps-compose/issues/533)) ([db97e65](https://github.com/googlemaps/android-maps-compose/commit/db97e6527473f4f43310319cdba4f24be6eafec7)) --- README.md | 6 +++--- build.gradle.kts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e4a0819c..15c6f134 100644 --- a/README.md +++ b/README.md @@ -22,14 +22,14 @@ You no longer need to specify the Maps SDK for Android or its Utility Library as ```groovy dependencies { - implementation 'com.google.maps.android:maps-compose:5.0.3' + implementation 'com.google.maps.android:maps-compose:5.0.4' // Optionally, you can include the Compose utils library for Clustering, // Street View metadata checks, etc. - implementation 'com.google.maps.android:maps-compose-utils:5.0.3' + implementation 'com.google.maps.android:maps-compose-utils:5.0.4' // Optionally, you can include the widgets library for ScaleBar, etc. - implementation 'com.google.maps.android:maps-compose-widgets:5.0.3' + implementation 'com.google.maps.android:maps-compose-widgets:5.0.4' } ``` diff --git a/build.gradle.kts b/build.gradle.kts index 7bd4b0e4..72065e39 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -32,7 +32,7 @@ val projectArtifactId by extra { project: Project -> allprojects { group = "com.google.maps.android" - version = "5.0.3" + version = "5.0.4" val projectArtifactId by extra { project.name } } From 984dd5e5e22d98ee9dc20a9e78c4bb1e616102cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20L=C3=B3pez=20Ma=C3=B1as?= Date: Thu, 20 Jun 2024 18:26:58 +0200 Subject: [PATCH 4/4] chore: changed branch --- .releaserc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.releaserc b/.releaserc index 81956d5b..7431eed8 100644 --- a/.releaserc +++ b/.releaserc @@ -1,5 +1,5 @@ branches: - - main + - fix/maven plugins: - "@semantic-release/commit-analyzer" - "@semantic-release/release-notes-generator"