fastlane: disable oldest_build_allowed for TestFlight clean

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-01-28 13:15:22 +01:00
parent 9fb513cea0
commit 128f44f58b
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ pipeline {
nix = load('ci/nix.groovy') nix = load('ci/nix.groovy')
nix.shell( nix.shell(
'bundle install --gemfile=fastlane/Gemfile', 'bundle install --gemfile=fastlane/Gemfile',
attr: 'shells.fastlane' attr: 'shells.fastlane',
) )
} } } }
} }
@ -44,7 +44,7 @@ pipeline {
]) { ]) {
nix.shell( nix.shell(
'bundle exec --gemfile=fastlane/Gemfile fastlane ios clean', 'bundle exec --gemfile=fastlane/Gemfile fastlane ios clean',
keep: ['FASTLANE_APPLE_ID', 'FASTLANE_PASSWORD'] keep: ['FASTLANE_APPLE_ID', 'FASTLANE_PASSWORD'],
attr: 'shells.fastlane', attr: 'shells.fastlane',
) )
} }

View File

@ -222,9 +222,9 @@ platform :ios do
lane :clean do lane :clean do
clean_testflight_testers( clean_testflight_testers(
username: ENV['FASTLANE_APPLE_ID'], username: ENV['FASTLANE_APPLE_ID'],
days_of_inactivity: 30, days_of_inactivity: 30
oldest_build_allowed: 2_019_032_709
) )
# In the future we can try using 'oldest_build_allowed'
end end
desc '`fastlane ios upload-diawi` - upload .ipa to diawi' desc '`fastlane ios upload-diawi` - upload .ipa to diawi'