version bump changes

This commit is contained in:
Yogesh Choudhary Paliyal
2023-05-18 08:37:57 +05:30
parent c7ac89a826
commit 404aef8fd6
6 changed files with 5 additions and 5 deletions

View File

@@ -4,8 +4,8 @@ INCREMENT_MODE=$1 # major, minor, and patch
RELEASE_NOTES=$2 # String files
# Read the current versionCode and versionName from the build.gradle.kts.kts file
VERSION_CODE=$(grep "versionCode =" app/build.gradle.kts | awk '{print $2}' | tr -d '\r''"')
VERSION_NAME=$(grep "versionName =" app/build.gradle.kts | awk '{print $2}' | tr -d '\r''"')
VERSION_CODE=$(grep "versionCode " app/build.gradle.kts | awk '{print $3}' | tr -d '\r''"')
VERSION_NAME=$(grep "versionName " app/build.gradle.kts | awk '{print $3}' | tr -d '\r''"')
# Split the versionName into major, minor, and patch numbers