mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-03-31 00:39:24 +02:00
v1.5.0-hotfix2: Fix CI signing config
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -43,6 +43,7 @@ android/*.iml
|
||||
android/keystore.properties
|
||||
android/*.jks
|
||||
android/*.keystore
|
||||
android/app/ci-keystore.jks
|
||||
|
||||
# iOS
|
||||
ios/Frameworks/
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## [1.5.0-hotfix2] - 2026-01-02
|
||||
|
||||
### Fixed
|
||||
- **App Signing**: Fixed CI/CD signing configuration
|
||||
|
||||
## [1.5.0-hotfix] - 2026-01-02
|
||||
|
||||
### Important Notice
|
||||
|
||||
BIN
SpotiFLAC-v1.5.0-hotfix-arm64.apk
Normal file
BIN
SpotiFLAC-v1.5.0-hotfix-arm64.apk
Normal file
Binary file not shown.
@@ -12,6 +12,14 @@ if (keystorePropertiesFile.exists()) {
|
||||
keystoreProperties.load(java.io.FileInputStream(keystorePropertiesFile))
|
||||
}
|
||||
|
||||
// Decode keystore from base64 if running in CI
|
||||
val ciKeystoreFile = file("${project.projectDir}/ci-keystore.jks")
|
||||
if (System.getenv("KEYSTORE_BASE64") != null && !ciKeystoreFile.exists()) {
|
||||
ciKeystoreFile.writeBytes(
|
||||
java.util.Base64.getDecoder().decode(System.getenv("KEYSTORE_BASE64"))
|
||||
)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.zarz.spotiflac"
|
||||
compileSdk = flutter.compileSdkVersion
|
||||
@@ -32,20 +40,14 @@ android {
|
||||
signingConfigs {
|
||||
create("release") {
|
||||
if (keystorePropertiesFile.exists()) {
|
||||
// Local build: use keystore.properties
|
||||
storeFile = file(keystoreProperties["storeFile"] as String)
|
||||
storePassword = keystoreProperties["storePassword"] as String
|
||||
keyAlias = keystoreProperties["keyAlias"] as String
|
||||
keyPassword = keystoreProperties["keyPassword"] as String
|
||||
} else if (System.getenv("KEYSTORE_BASE64") != null) {
|
||||
// CI/CD: decode keystore from base64 environment variable
|
||||
val keystoreFile = file("${project.buildDir}/keystore.jks")
|
||||
if (!keystoreFile.exists()) {
|
||||
keystoreFile.parentFile.mkdirs()
|
||||
keystoreFile.writeBytes(
|
||||
java.util.Base64.getDecoder().decode(System.getenv("KEYSTORE_BASE64"))
|
||||
)
|
||||
}
|
||||
storeFile = keystoreFile
|
||||
} else if (ciKeystoreFile.exists()) {
|
||||
// CI/CD build: use decoded keystore
|
||||
storeFile = ciKeystoreFile
|
||||
storePassword = System.getenv("KEYSTORE_PASSWORD")
|
||||
keyAlias = System.getenv("KEY_ALIAS")
|
||||
keyPassword = System.getenv("KEY_PASSWORD")
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/// App version and info constants
|
||||
/// Update version here only - all other files will reference this
|
||||
class AppInfo {
|
||||
static const String version = '1.5.0-hotfix';
|
||||
static const String buildNumber = '15';
|
||||
static const String version = '1.5.0-hotfix2';
|
||||
static const String buildNumber = '16';
|
||||
static const String fullVersion = '$version+$buildNumber';
|
||||
|
||||
static const String appName = 'SpotiFLAC';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: spotiflac_android
|
||||
description: Download Spotify tracks in FLAC from Tidal, Qobuz & Amazon Music
|
||||
publish_to: 'none'
|
||||
version: 1.5.0+15
|
||||
version: 1.5.0+16
|
||||
|
||||
environment:
|
||||
sdk: ^3.10.0
|
||||
|
||||
Reference in New Issue
Block a user