build: use git commit count for versionCode (#3233)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2025-09-28 14:49:12 -05:00 committed by GitHub
parent ac51c1b9f6
commit c5da2c4e13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 67 additions and 84 deletions

34
config.properties Normal file
View file

@ -0,0 +1,34 @@
#
# Copyright (c) 2025 Meshtastic LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# Offset for reproducible versionCode calculation (see RELEASE_PROCESS.md)
VERSION_CODE_OFFSET=29314197
# Application and SDK versions
APPLICATION_ID=com.geeksville.mesh
MIN_SDK=26
TARGET_SDK=36
COMPILE_SDK=36
# Base version name for local development and fallback
# On CI, this is overridden by the Git tag
# Before a release, update this to the new Git tag version
VERSION_NAME_BASE=2.7.1
# Minimum firmware versions supported by this app
MIN_FW_VERSION=2.5.14
ABS_MIN_FW_VERSION=2.3.15