Skip to content

Commit

Permalink
chore: upload native-debug-symbols during release
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Nov 10, 2024
1 parent 63e5ad1 commit 6ffd309
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1,601 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ android {
)
signingConfig = signingConfigs.findByName("release")
ndk {
debugSymbolLevel = "SYMBOL_TABLE"
debugSymbolLevel = "FULL"
}
}
create("nightly") {
Expand Down
9 changes: 9 additions & 0 deletions cli/android/move-outputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,20 @@ const main = async () => {
),
path.join(Paths.distDir, `symphony-v${APP_VERSION_NAME}.aab`),
] as const;
const symbols = [
path.join(
Paths.appDir,
`app/build/outputs/native-debug-symbols/${APP_BUILD_TYPE}/native-debug-symbols.zip`,
),
path.join(Paths.distDir, `native-debug-symbols.zip`),
] as const;
await fs.ensureDir(Paths.distDir);
await fs.move(apk[0], apk[1]);
console.log(`Moved apk to "${apk[1]}".`);
await fs.move(aab[0], aab[1]);
console.log(`Moved aab to "${aab[1]}".`);
await fs.move(symbols[0], symbols[1]);
console.log(`Moved native-debug-symbols to "${symbols[1]}".`);
};

main();
24 changes: 0 additions & 24 deletions cli/android/pack-symbols.ts

This file was deleted.

Loading

0 comments on commit 6ffd309

Please sign in to comment.