Skip to content

Commit

Permalink
feat(Build): change apk name to FridaManager.apk (#10)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Yimura authored Nov 19, 2024
1 parent 65ffd3a commit 8a05014
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ jobs:
RELEASE_KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }}
run: ./gradlew bundleRelease --stacktrace

- name: Get release file aab path
id: releaseAab
run: echo "aabfile=$(find app/build/outputs/bundle/release/*.aab)" >> $GITHUB_OUTPUT

- name: Get release file apk path
id: releaseApk
run: echo "apkfile=$(find app/build/outputs/apk/release/*.apk)" >> $GITHUB_OUTPUT
Expand All @@ -70,7 +66,6 @@ jobs:
with:
files: |
${{ steps.releaseApk.outputs.apkfile }}
${{ steps.releaseAab.outputs.aabfile }}
draft: true
prerelease: true
generate_release_notes: true
13 changes: 11 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,23 @@ android {
keyPassword = System.getenv("RELEASE_KEY_PASSWORD")
}
}

applicationVariants.all {
outputs.all {
val output = this as com.android.build.gradle.internal.api.BaseVariantOutputImpl
output.outputFileName = "FridaManager.apk"
}
}

namespace = "sh.damon.fridamgr"
compileSdk = 34

defaultConfig {
applicationId = "sh.damon.fridamgr"
minSdk = 29
targetSdk = 34
versionCode = 4
versionName = "0.1.3"
versionCode = 5
versionName = "0.1.4"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -35,6 +43,7 @@ android {
signingConfig = signingConfigs.getByName("release")
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand Down

0 comments on commit 8a05014

Please sign in to comment.