Merge pull request 'changes to PR process and build number implementation' (#5) from dev into main

Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
2026-03-12 07:55:52 -04:00
3 changed files with 16 additions and 7 deletions
+8 -1
View File
@@ -55,7 +55,14 @@ jobs:
run: flutter pub get run: flutter pub get
- name: Build release APK - name: Build release APK
run: flutter build apk --release run: |
# Derive version from the tag (e.g. v26.03.12 → name=26.03.12 number=260312)
TAG="${{ github.ref_name }}"
BUILD_NAME="${TAG#v}"
BUILD_NUMBER=$(echo "$BUILD_NAME" | tr -d '.')
flutter build apk --release \
--build-name="$BUILD_NAME" \
--build-number="$BUILD_NUMBER"
- name: Set artifact name - name: Set artifact name
id: artifact id: artifact
+7 -5
View File
@@ -37,11 +37,13 @@ android {
} }
signingConfigs { signingConfigs {
create("release") { if (keystorePropertiesFile.exists()) {
keyAlias = keystoreProperties["keyAlias"] as String create("release") {
keyPassword = keystoreProperties["keyPassword"] as String keyAlias = keystoreProperties["keyAlias"] as String
storeFile = file(keystoreProperties["storeFile"] as String) keyPassword = keystoreProperties["keyPassword"] as String
storePassword = keystoreProperties["storePassword"] as String storeFile = file(keystoreProperties["storeFile"] as String)
storePassword = keystoreProperties["storePassword"] as String
}
} }
} }
+1 -1
View File
@@ -2,7 +2,7 @@ name: fabled_app
description: "FabledAssistant mobile client for Android." description: "FabledAssistant mobile client for Android."
publish_to: 'none' publish_to: 'none'
version: 26.03.12+1 version: 0.0.0+0 # overridden at build time via --build-name / --build-number
environment: environment:
sdk: ^3.11.0 sdk: ^3.11.0