diff --git a/bump_version_gh_action.sh b/bump_version_gh_action.sh index 0b8b145e6..1a808e057 100755 --- a/bump_version_gh_action.sh +++ b/bump_version_gh_action.sh @@ -57,7 +57,7 @@ if [ $SHOULD_BUMP = false ]; then 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