mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-01-06 16:41:33 -06:00
Update versionBump.sh
This commit is contained in:
committed by
GitHub
parent
d9d6e53ee3
commit
c1391ab266
@@ -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 | awk '{print $2}' | tr -d '\r''"')
|
||||
VERSION_NAME=$(grep "versionName" app/build.gradle | awk '{print $2}' | tr -d '\r''"')
|
||||
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''"')
|
||||
|
||||
|
||||
# Split the versionName into major, minor, and patch numbers
|
||||
|
||||
Reference in New Issue
Block a user