Compare commits
9 Commits
c1a855e84a
...
v0.0.30
Author | SHA1 | Date | |
---|---|---|---|
6f1a019d4f | |||
e6ccb7078b | |||
84839c5a02 | |||
9850e949c3 | |||
5fc25a3c39 | |||
f76cd603f3 | |||
67f748244f | |||
66fa55e8c3 | |||
f4729a2de7 |
@@ -6,7 +6,7 @@ on:
|
|||||||
- frontend/**
|
- frontend/**
|
||||||
|
|
||||||
|
|
||||||
name: Build and release APK
|
name: Build and release debug APK
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
ls -lah android
|
ls -lah android
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
|
||||||
- run: flutter build apk --release --split-per-abi --build-number=${{ gitea.run_number }}
|
- run: flutter build apk --debug --split-per-abi --build-number=${{ gitea.run_number }}
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
|
||||||
- name: Upload APKs to artifacts
|
- name: Upload APKs to artifacts
|
||||||
|
@@ -14,3 +14,4 @@ scipy = "*"
|
|||||||
osmpythontools = "*"
|
osmpythontools = "*"
|
||||||
pywikibot = "*"
|
pywikibot = "*"
|
||||||
pymemcache = "*"
|
pymemcache = "*"
|
||||||
|
fastapi-cli = "*"
|
||||||
|
2208
backend/Pipfile.lock
generated
@@ -55,8 +55,6 @@ sightseeing:
|
|||||||
water:
|
water:
|
||||||
- reflecting_pool
|
- reflecting_pool
|
||||||
bridge:
|
bridge:
|
||||||
# needs to be in quotes because it gets interpreted as True otherwise
|
|
||||||
- 'yes'
|
|
||||||
- aqueduct
|
- aqueduct
|
||||||
- viaduct
|
- viaduct
|
||||||
- boardwalk
|
- boardwalk
|
||||||
|
@@ -30,14 +30,19 @@ if (flutterVersionName == null) {
|
|||||||
|
|
||||||
|
|
||||||
def secretPropertiesFile = rootProject.file('secrets.properties')
|
def secretPropertiesFile = rootProject.file('secrets.properties')
|
||||||
|
def fallbackPropertiesFile = rootProject.file('fallback.properties')
|
||||||
def secretProperties = new Properties()
|
def secretProperties = new Properties()
|
||||||
|
|
||||||
if (secretPropertiesFile.exists()) {
|
if (secretPropertiesFile.exists()) {
|
||||||
secretPropertiesFile.withReader('UTF-8') { reader ->
|
secretPropertiesFile.withReader('UTF-8') { reader ->
|
||||||
secretProperties.load(reader)
|
secretProperties.load(reader)
|
||||||
}
|
}
|
||||||
|
} else if (fallbackPropertiesFile.exists()) {
|
||||||
|
fallbackPropertiesFile.withReader('UTF-8') { reader ->
|
||||||
|
secretProperties.load(reader)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new GradleException("Secrets file secrets.properties not found")
|
throw new GradleException("Secrets file (secrets.properties, fallback.properties) not found")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1 +1,3 @@
|
|||||||
|
# This file mirrors the state of secrets.properties as a reference for the developer.
|
||||||
|
# And as a fallback for build.gradle
|
||||||
MAPS_API_KEY=Key
|
MAPS_API_KEY=Key
|
@@ -21,6 +21,10 @@ platform :android do
|
|||||||
track: 'alpha',
|
track: 'alpha',
|
||||||
skip_upload_apk: true,
|
skip_upload_apk: true,
|
||||||
skip_upload_changelogs: true,
|
skip_upload_changelogs: true,
|
||||||
|
aab: "../../build/app/outputs/bundle/release/app-release.aab",
|
||||||
|
# this is the default output of flutter build ... --release
|
||||||
|
# in particular this the build folder lies in the flutter root folder
|
||||||
|
# hence the relative path
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -37,6 +41,10 @@ platform :android do
|
|||||||
track: "production",
|
track: "production",
|
||||||
skip_upload_apk: true,
|
skip_upload_apk: true,
|
||||||
skip_upload_changelogs: true,
|
skip_upload_changelogs: true,
|
||||||
|
aab: "../../build/app/outputs/bundle/release/app-release.aab",
|
||||||
|
# this is the default output of flutter build ... --release
|
||||||
|
# in particular this the build folder lies in the flutter root folder
|
||||||
|
# hence the relative path
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Before Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 637 KiB |
Before Width: | Height: | Size: 573 KiB |
Before Width: | Height: | Size: 175 KiB |
Before Width: | Height: | Size: 360 KiB |
Before Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 637 KiB |
Before Width: | Height: | Size: 573 KiB |
Before Width: | Height: | Size: 175 KiB |
Before Width: | Height: | Size: 360 KiB |