diff --git a/filcnaplo/android/app/build.gradle b/filcnaplo/android/app/build.gradle index 238b237..4e8f88a 100644 --- a/filcnaplo/android/app/build.gradle +++ b/filcnaplo/android/app/build.gradle @@ -26,13 +26,8 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" def keystoreProperties = new Properties() -def keystorePropertiesFile = rootProject.file("$System.env.ANDROID_SIGNING") -if (keystorePropertiesFile.exists()) { - keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) -} else { - keystoreProperties.load(new FileInputStream(rootProject.file("signing/signing.properties"))) - -} +def keystorePropertiesFile = rootProject.file("$System.env.HOME/keys/filc3.properties") +keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) android { compileSdkVersion rootProject.ext.compileSdkVersion diff --git a/filcnaplo/android/signing/signing.keystore b/filcnaplo/android/signing/signing.keystore deleted file mode 100644 index 07de482..0000000 Binary files a/filcnaplo/android/signing/signing.keystore and /dev/null differ diff --git a/filcnaplo/android/signing/signing.properties b/filcnaplo/android/signing/signing.properties deleted file mode 100644 index 0bda00d..0000000 --- a/filcnaplo/android/signing/signing.properties +++ /dev/null @@ -1,4 +0,0 @@ -keyAlias=test -keyPassword=test123 -storeFile=../signing/signing.keystore -storePassword=test123 \ No newline at end of file diff --git a/filcnaplo/build.sh b/filcnaplo/build.sh index 4cdf7b2..8e6cb8a 100755 --- a/filcnaplo/build.sh +++ b/filcnaplo/build.sh @@ -9,12 +9,5 @@ function get_version cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1 end -set DEFAULT_KEY $HOME/keys/filc3.properties - -if test -e $DEFAULT_KEY - echo Using \"$DEFAULT_KEY\" for signing - set -x ANDROID_SIGNING $DEFAULT_KEY -end - -flutter build apk --release --dart-define=APPVER=(get_version) --no-tree-shake-icons -cp -v "build/app/outputs/flutter-apk/app-release.apk" ~/"Desktop/hu.filc.naplo_"(get_version_bn).apk +flutter build apk --release --dart-define=APPVER=(get_version) --no-tree-shake-icons && \ + cp -v "build/app/outputs/flutter-apk/app-release.apk" ~/"Desktop/hu.filc.naplo_"(get_version_bn).apk diff --git a/filcnaplo/pubspec.yaml b/filcnaplo/pubspec.yaml index a14ba46..0cdac6f 100644 --- a/filcnaplo/pubspec.yaml +++ b/filcnaplo/pubspec.yaml @@ -3,7 +3,7 @@ description: "Nem hivatalos e-napló alkalmazás az e-Kréta rendszerhez" homepage: https://filcnaplo.hu publish_to: "none" -version: 3.4.0+170 +version: 3.4.0+171 environment: sdk: ">=2.16.0-80.1.beta <3.0.0"