From 00947f70846774aea8dcdd2520892c75f9578b91 Mon Sep 17 00:00:00 2001 From: Dinush Chathurya Date: Mon, 10 Jul 2023 08:40:16 +0530 Subject: [PATCH] fix: Change BuildNumber generation method --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 9a598c4..0407a52 100644 --- a/build.gradle +++ b/build.gradle @@ -25,7 +25,7 @@ allprojects { } ext { - buildNumber = System.getenv("BUILD_NUMBER") ?: "0" + buildNumber = System.getenv("GITHUB_RUN_NUMBER") ?: "0" } version = "${project.marketingVersion}-build-${project.ext.buildNumber}".toString()