Skip to content

Commit 243810b

Browse files
authored
Fix apk size upload in post-submit runs. (#1386)
1 parent b878917 commit 243810b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/groovy/com/google/firebase/gradle/plugins/measurement/MetricsReportUploader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static void upload(Project project, String report) {
3838
String headCommit = System.getenv("PULL_PULL_SHA");
3939
String pullRequest = System.getenv("PULL_NUMBER");
4040

41-
String commit = headCommit != null && !headCommit.isEmpty() ? headCommit : headCommit;
41+
String commit = headCommit != null && !headCommit.isEmpty() ? headCommit : baseCommit;
4242

4343
post(project, report, owner, repo, commit, baseCommit, pullRequest);
4444
}

0 commit comments

Comments
 (0)