mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# This file contains the fastlane.tools configuration
 | 
						|
# You can find the documentation at https://docs.fastlane.tools
 | 
						|
#
 | 
						|
# For a list of all available actions, check out
 | 
						|
#
 | 
						|
#     https://docs.fastlane.tools/actions
 | 
						|
#
 | 
						|
# For a list of all available plugins, check out
 | 
						|
#
 | 
						|
#     https://docs.fastlane.tools/plugins/available-plugins
 | 
						|
#
 | 
						|
 | 
						|
# Uncomment the line if you want fastlane to automatically update itself
 | 
						|
# update_fastlane
 | 
						|
 | 
						|
default_platform(:android)
 | 
						|
 | 
						|
platform :android do
 | 
						|
  desc "Build Android and Release Testing"
 | 
						|
  lane :beta do
 | 
						|
    gradle(
 | 
						|
      task: 'bundle', 
 | 
						|
      build_type: 'Release',
 | 
						|
      properties: {
 | 
						|
        "android.injected.version.code" => 47,
 | 
						|
        "android.injected.version.name" => "1.30.2",
 | 
						|
      }
 | 
						|
    )
 | 
						|
    upload_to_play_store(skip_upload_apk: true, skip_upload_images: true, skip_upload_screenshots: true, aab: '../build/app/outputs/bundle/release/app-release.aab', track: 'beta')
 | 
						|
  end
 | 
						|
 | 
						|
  desc "Build and Release Android"
 | 
						|
  lane :release do
 | 
						|
    gradle(
 | 
						|
      task: 'bundle', 
 | 
						|
      build_type: 'Release',
 | 
						|
      properties: {
 | 
						|
        "android.injected.version.code" => 75,
 | 
						|
        "android.injected.version.name" => "1.52.1",
 | 
						|
      }
 | 
						|
    )
 | 
						|
    upload_to_play_store(skip_upload_apk: true, skip_upload_images: true, skip_upload_screenshots: true, aab: '../build/app/outputs/bundle/release/app-release.aab')
 | 
						|
  end
 | 
						|
 | 
						|
end
 |