This commit is contained in:
coco
2026-07-03 15:56:07 +08:00
commit caef23209c
5767 changed files with 1004268 additions and 0 deletions
@@ -0,0 +1,13 @@
# uses the vcs build number as the android version code and adds it to the display version string.
#MAJOR_MINOR=`cat version.txt`
VERSION_CODE=$CIRCLE_BUILD_NUM
VERSION_NAME="$MAJOR_MINOR.$VERSION_CODE"
echo "Building with Version Name: $VERSION_NAME"
# update build.gradle with new version code:
perl -pi -w -e "s/theVersionCode = \d/theVersionCode = $VERSION_CODE/g;" build.gradle
# update build.gradle with new version name:
#perl -pi -w -e 's/_dev_build_/'$VERSION_NAME'/g;' build.gradle