fix: use release keystore in CI when RELEASE_STORE_FILE is set
The build.gradle now reads RELEASE_STORE_FILE, RELEASE_STORE_PASSWORD, RELEASE_KEY_ALIAS, and RELEASE_KEY_PASSWORD env vars for release signing. Falls back to debug keystore for local development. Also updates whatsnew for v0.4.1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -81,6 +81,8 @@ def enableMinifyInReleaseBuilds = (findProperty('android.enableMinifyInReleaseBu
|
||||
*/
|
||||
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
|
||||
|
||||
apply from: new File(["node", "--print", "require('path').dirname(require.resolve('@sentry/react-native/package.json'))"].execute().text.trim(), "sentry.gradle")
|
||||
|
||||
android {
|
||||
ndkVersion rootProject.ext.ndkVersion
|
||||
|
||||
@@ -92,8 +94,8 @@ android {
|
||||
applicationId 'ai.opencode.mobile'
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 1
|
||||
versionName "1.0.0"
|
||||
versionCode 4
|
||||
versionName "0.4.1"
|
||||
|
||||
buildConfigField "String", "REACT_NATIVE_RELEASE_LEVEL", "\"${findProperty('reactNativeReleaseLevel') ?: 'stable'}\""
|
||||
}
|
||||
@@ -104,8 +106,8 @@ android {
|
||||
keyAlias 'androiddebugkey'
|
||||
keyPassword 'android'
|
||||
}
|
||||
release {
|
||||
if (System.getenv("RELEASE_STORE_FILE")) {
|
||||
if (System.getenv("RELEASE_STORE_FILE")) {
|
||||
release {
|
||||
storeFile file(System.getenv("RELEASE_STORE_FILE"))
|
||||
storePassword System.getenv("RELEASE_STORE_PASSWORD")
|
||||
keyAlias System.getenv("RELEASE_KEY_ALIAS")
|
||||
@@ -118,7 +120,7 @@ android {
|
||||
signingConfig signingConfigs.debug
|
||||
}
|
||||
release {
|
||||
signingConfig System.getenv("RELEASE_STORE_FILE") ? signingConfigs.release : signingConfigs.debug
|
||||
signingConfig signingConfigs.findByName('release') ?: signingConfigs.debug
|
||||
def enableShrinkResources = findProperty('android.enableShrinkResourcesInReleaseBuilds') ?: 'false'
|
||||
shrinkResources enableShrinkResources.toBoolean()
|
||||
minifyEnabled enableMinifyInReleaseBuilds
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
v0.3.2 — Session visibility fix.
|
||||
v0.4.1 — Stability and UX improvements.
|
||||
|
||||
- Sessions from all projects now appear in the list (not just the server's current directory)
|
||||
- Sessions list refreshes every time you open the tab
|
||||
- Delete, rename, and permission replies work correctly for cross-project sessions
|
||||
- Agents and commands reload when you switch project directory
|
||||
- Improved markdown rendering with copy-to-clipboard for code blocks
|
||||
- Better session status indicators (idle/busy/retry)
|
||||
- Connection management improvements
|
||||
- Biometric authentication gate
|
||||
- Bug fixes and performance improvements
|
||||
|
||||
Reference in New Issue
Block a user