Release new versions

This commit is contained in:
Lei Nelissen
2022-01-15 17:51:15 +01:00
parent 5d26a5395b
commit f9334c51a3
7 changed files with 23 additions and 15 deletions

View File

@@ -136,8 +136,8 @@ android {
applicationId "com.jellyfinaudioplayer" applicationId "com.jellyfinaudioplayer"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1 versionCode 4
versionName "1.0" versionName "0.2.3"
multiDexEnabled true multiDexEnabled true
} }
splits { splits {

View File

@@ -10,7 +10,7 @@
# Specifies the JVM arguments used for the daemon process. # Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings. # The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m # Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 org.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode. # When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit # This option should only be used with decoupled projects. More details, visit

View File

@@ -16,9 +16,12 @@ platform :ios do
use_automatic_signing: true, use_automatic_signing: true,
path: "ios/JellyfinAudioPlayer.xcodeproj" path: "ios/JellyfinAudioPlayer.xcodeproj"
) )
increment_version_number(version_number: package["version"]); increment_version_number(
version_number: package["version"],
xcodeproj: "ios/JellyfinAudioPlayer.xcodeproj",
);
increment_build_number( increment_build_number(
xcodeproj: "ios/JellyfinAudioPlayer.xcodeproj" xcodeproj: "ios/JellyfinAudioPlayer.xcodeproj",
) )
build_app( build_app(
scheme: "Jellyfin Player", scheme: "Jellyfin Player",
@@ -28,7 +31,7 @@ platform :ios do
) )
upload_to_testflight upload_to_testflight
build_number = get_build_number( build_number = get_build_number(
xcodeproj: "ios/JellyfinAudioPlayer.xcodeproj" xcodeproj: "ios/JellyfinAudioPlayer.xcodeproj",
) )
Dir.chdir("..") do Dir.chdir("..") do
sh( sh(
@@ -69,11 +72,15 @@ end
platform :android do platform :android do
desc "Generate beta build" desc "Generate beta build"
lane :beta do lane :beta do
android_set_version_name(
version_name: package['version'],
gradle_file: "android/app/build.gradle"
)
android_set_version_code(
gradle_file: "android/app/build.gradle"
)
gradle( gradle(
task: "assembleRelease", task: "assembleRelease",
properties: {
'versionName' => package["version"],
},
project_dir: "android" project_dir: "android"
) )
end end

View File

@@ -4,3 +4,4 @@
gem 'fastlane-plugin-sentry' gem 'fastlane-plugin-sentry'
gem 'fastlane-plugin-load_json' gem 'fastlane-plugin-load_json'
gem 'fastlane-plugin-versioning_android'

View File

@@ -554,7 +554,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 31; CURRENT_PROJECT_VERSION = 33;
DEVELOPMENT_TEAM = 238P3C58WC; DEVELOPMENT_TEAM = 238P3C58WC;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
@@ -590,7 +590,7 @@
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 31; CURRENT_PROJECT_VERSION = 33;
DEVELOPMENT_TEAM = 238P3C58WC; DEVELOPMENT_TEAM = 238P3C58WC;
INFOPLIST_FILE = JellyfinAudioPlayer/Info.plist; INFOPLIST_FILE = JellyfinAudioPlayer/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

View File

@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0</string> <string>0.2.3</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>31</string> <string>33</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>NSAppTransportSecurity</key> <key>NSAppTransportSecurity</key>

View File

@@ -15,10 +15,10 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>BNDL</string> <string>BNDL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0</string> <string>0.2.3</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>31</string> <string>33</string>
</dict> </dict>
</plist> </plist>