Skip to content

Commit 8a05014

Browse files
authored
feat(Build): change apk name to FridaManager.apk (#10)
- Bumped version number 0.1.4 - Adapted release and debug apk names to FridaManager.apk - Modified Github Action to no longer include the app-release.aab
1 parent 65ffd3a commit 8a05014

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ jobs:
5757
RELEASE_KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }}
5858
run: ./gradlew bundleRelease --stacktrace
5959

60-
- name: Get release file aab path
61-
id: releaseAab
62-
run: echo "aabfile=$(find app/build/outputs/bundle/release/*.aab)" >> $GITHUB_OUTPUT
63-
6460
- name: Get release file apk path
6561
id: releaseApk
6662
run: echo "apkfile=$(find app/build/outputs/apk/release/*.apk)" >> $GITHUB_OUTPUT
@@ -70,7 +66,6 @@ jobs:
7066
with:
7167
files: |
7268
${{ steps.releaseApk.outputs.apkfile }}
73-
${{ steps.releaseAab.outputs.aabfile }}
7469
draft: true
7570
prerelease: true
7671
generate_release_notes: true

app/build.gradle.kts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,23 @@ android {
1212
keyPassword = System.getenv("RELEASE_KEY_PASSWORD")
1313
}
1414
}
15+
16+
applicationVariants.all {
17+
outputs.all {
18+
val output = this as com.android.build.gradle.internal.api.BaseVariantOutputImpl
19+
output.outputFileName = "FridaManager.apk"
20+
}
21+
}
22+
1523
namespace = "sh.damon.fridamgr"
1624
compileSdk = 34
1725

1826
defaultConfig {
1927
applicationId = "sh.damon.fridamgr"
2028
minSdk = 29
2129
targetSdk = 34
22-
versionCode = 4
23-
versionName = "0.1.3"
30+
versionCode = 5
31+
versionName = "0.1.4"
2432

2533
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2634
}
@@ -35,6 +43,7 @@ android {
3543
signingConfig = signingConfigs.getByName("release")
3644
}
3745
}
46+
3847
compileOptions {
3948
sourceCompatibility = JavaVersion.VERSION_17
4049
targetCompatibility = JavaVersion.VERSION_17

0 commit comments

Comments
 (0)