From 12a6d893b59763a7807407345928aaf10e75d707 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 28 Oct 2025 11:27:20 +0000 Subject: [PATCH 1/2] [skip ci] Update SDK sizes --- metrics/size.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/size.json b/metrics/size.json index 8687b42b91..875f0bb09b 100644 --- a/metrics/size.json +++ b/metrics/size.json @@ -1,7 +1,7 @@ { "debug": { "stream-video-android-core": 13560, - "stream-video-android-ui-xml": 7376, + "stream-video-android-ui-xml": 7392, "stream-video-android-ui-compose": 9796 }, "release": { From 7183c9742dde4d718cd47f2b821ad5ddbe36ed90 Mon Sep 17 00:00:00 2001 From: Rahul Kumar Lohra Date: Tue, 28 Oct 2025 17:03:30 +0530 Subject: [PATCH 2/2] Fix CI to display the correct Sonatype-assigned snapshot version (#1557) * update snapshot url * print version name * remove timestamp * refactor timestamp with MMddHHmm * correct the logic to render snapshot version on ci * refactor * refactor * refactor * refactor * fix snapshot version --------- Co-authored-by: Aleksandar Apostolov --- .github/workflows/publish-snapshot.yml | 5 +++++ scripts/show-last-snapshot-update.sh | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 546fcd3b42..8aea563f5b 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -6,6 +6,11 @@ on: - develop workflow_dispatch: +# 👇 This line ensures only one snapshot publish runs at a time. +concurrency: + group: snapshot-publish + cancel-in-progress: false + jobs: publish: name: Snapshot build and publish diff --git a/scripts/show-last-snapshot-update.sh b/scripts/show-last-snapshot-update.sh index 66a139dbd0..332fecd3df 100755 --- a/scripts/show-last-snapshot-update.sh +++ b/scripts/show-last-snapshot-update.sh @@ -5,13 +5,12 @@ # Extract groupId, artifactId, and snapshot version from the artifact string groupId=$(echo $artifact | cut -d: -f1) artifactId=$(echo $artifact | cut -d: -f2) - snapshotVersion=$(echo $artifact | cut -d: -f3) # Format the URL for the maven-metadata.xml file in the Nexus repository - url="https://oss.sonatype.org/content/repositories/snapshots/$(echo $groupId | tr '.' '/')/$artifactId/$snapshotVersion/maven-metadata.xml" + url="https://central.sonatype.com/repository/maven-snapshots/io/getstream/stream-video-android-bom/maven-metadata.xml" # Fetch the maven-metadata.xml using curl and extract the latest release version using sed - latest_version=$(curl -s "$url" | sed -n 's|.*\(.*\).*|\1|p' | head -n 1) + latest_version=$(curl -s "$url" | sed -n 's/.*\(.*\)<\/latest>.*/\1/p') # Print the result with the latest stable version if [ -n "$latest_version" ]; then