Skip to content

Commit

Permalink
disable minify on release builds (for now)
Browse files Browse the repository at this point in the history
- also test github actions builds
  • Loading branch information
unawarespecs committed Feb 8, 2025
1 parent 8871368 commit 96f91a3
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Sign Android APK

on:
push:
branches: [ develop ]
branches: [ stable ]

jobs:
build:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/create_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ def get_latest_release_commit_hash(repo, access_token=None):
return ""

if __name__ == "__main__":
tag_name = get_new_tag_name('K1rakishou/Kuroba-Experimental-beta')
tag_name = get_new_tag_name('unawarespecs/kurobaex')
if (len(tag_name) == 0):
print("Failed to get the release tag.")
exit(-1)

latest_release_commit_hash = get_latest_release_commit_hash('K1rakishou/Kuroba-Experimental')
latest_release_commit_hash = get_latest_release_commit_hash('unawarespecs/kurobaex')
if (len(latest_release_commit_hash) == 0):
print("Failed to get latest release commit hash.")
exit(-1)
Expand All @@ -142,8 +142,8 @@ def get_latest_release_commit_hash(repo, access_token=None):
print(f'tag_name: {tag_name}')
print(f'commits:\n{commits}')

repo = 'K1rakishou/Kuroba-Experimental-beta'
release_name = f'KurobaEx-beta release {tag_name}'
repo = 'unawarespecs/kurobaex'
release_name = f'KurobaEx-beta (unawarespecs fork) release {tag_name}'

body = ""
if (len(commits) > 0):
Expand Down
4 changes: 2 additions & 2 deletions Kuroba/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ android {
apkVersionNameSuffix = "-beta"

buildConfigField "int", "FLAVOR_TYPE", "1"
buildConfigField "int", "UPDATE_DELAY", "1"
buildConfigField "int", "UPDATE_DELAY", "99999999"

// The same as in stable flavor
manifestPlaceholders = [
Expand Down Expand Up @@ -187,7 +187,7 @@ android {
signingConfig signingConfigs.release
}

minifyEnabled true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard.cfg'

debuggable = false
Expand Down
2 changes: 1 addition & 1 deletion Kuroba/core-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ android {

buildTypes {
release {
minifyEnabled true
minifyEnabled false
}
debug {
minifyEnabled false
Expand Down
2 changes: 1 addition & 1 deletion Kuroba/core-logger/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ android {

buildTypes {
release {
minifyEnabled true
minifyEnabled false
}
debug {
minifyEnabled false
Expand Down
2 changes: 1 addition & 1 deletion Kuroba/core-model/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android {

buildTypes {
release {
minifyEnabled true
minifyEnabled false
}
debug {
minifyEnabled false
Expand Down
2 changes: 1 addition & 1 deletion Kuroba/core-parser/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {

buildTypes {
release {
minifyEnabled true
minifyEnabled false
}
debug {
minifyEnabled false
Expand Down
2 changes: 1 addition & 1 deletion Kuroba/core-settings/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ android {

buildTypes {
release {
minifyEnabled true
minifyEnabled false
}
debug {
minifyEnabled false
Expand Down
2 changes: 1 addition & 1 deletion Kuroba/core-spannable/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ android {

buildTypes {
release {
minifyEnabled true
minifyEnabled false
}
debug {
minifyEnabled false
Expand Down
2 changes: 1 addition & 1 deletion Kuroba/core-themes/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ android {

buildTypes {
release {
minifyEnabled true
minifyEnabled false
}
debug {
minifyEnabled false
Expand Down

0 comments on commit 96f91a3

Please sign in to comment.