mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
chore(mobile): Add debug build type suffix to the applicationId and version (#2826)
This commit is contained in:
parent
b47027efc2
commit
f2942588f2
2 changed files with 6 additions and 1 deletions
|
@ -72,6 +72,11 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
debug {
|
||||||
|
applicationIdSuffix '.debug'
|
||||||
|
versionNameSuffix '-DEBUG'
|
||||||
|
}
|
||||||
|
|
||||||
release {
|
release {
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,7 +76,7 @@ class ServerInfoNotifier extends StateNotifier<ServerInfoState> {
|
||||||
return {
|
return {
|
||||||
"major": int.parse(major),
|
"major": int.parse(major),
|
||||||
"minor": int.parse(minor),
|
"minor": int.parse(minor),
|
||||||
"patch": int.parse(patch),
|
"patch": int.parse(patch.replaceAll("-DEBUG", "")),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue