From f674eb64b50be5f216e2b86ef8251b9ad38ae9dd Mon Sep 17 00:00:00 2001 From: Rui <102453770+ruixhuang@users.noreply.github.com> Date: Tue, 4 Jun 2024 09:52:06 -0700 Subject: [PATCH] Update bump_version.yml --- .github/workflows/bump_version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index 57647698d..1e50c841a 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -81,7 +81,7 @@ jobs: fi # increment the version number - NEW_VERSION=$(echo $VERSION | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g') + NEW_VERSION=$(echo $REPO_VERSION | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g') #if NEW_VERSION is not empty, replace the version in build.gradle.kts if [ -n "$NEW_VERSION" ]; then