Skip to content

Commit

Permalink
Added more test case for keep same link
Browse files Browse the repository at this point in the history
  • Loading branch information
vineetchoudhary committed Jan 14, 2019
1 parent b9e6b76 commit 4dbf937
Showing 1 changed file with 44 additions and 5 deletions.
49 changes: 44 additions & 5 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,58 @@
desc "Upload IPA file and Send an email to single email"
lane :testSingleEmail do
gym
appbox(emails:'[email protected]')
appbox(
emails:'[email protected]'
)
end


desc "Upload IPA file and Send email to multiple commas separated emails"
lane :testMultipleEmail do
gym
appbox(emails:'[email protected],[email protected]')
appbox(
emails:'[email protected],[email protected]'
)
end


desc "Upload IPA file and Send email with a custom message."
lane :testEmailWithCustomMessage do
gym
appbox(emails:'[email protected]' message: '{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.')
appbox(
emails:'[email protected]',
message: '{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.',
)
end


desc "Upload IPA file where AppBox available at some custom path instead of macOS Application Directory."
lane :testAppBoxWithCustomPath do
gym
appbox(
emails:'[email protected]',
appbox_path:'/Users/vineetchoudhary/Desktop/AppBox2.8.0/AppBox.app',
)
end


desc "Upload IPA file and keep the same link for all future upload IPAs."
lane :testKeepSameLink do
gym
appbox(
emails:'[email protected]',
message: '{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.',
keep_same_link: true,
)
end

lane :testCustomPath do
desc "Upload IPA file and keep the same link for all future upload IPAs in Custom Dropbox folder."
lane :testCustomDBFolderName do
gym
appbox(emails:'[email protected]', path:'/Users/vineetchoudhary/Desktop/AppBox2.8.0/AppBox.app')
appbox(
emails:'[email protected]',
message: '{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.',
keep_same_link: true,
dropbox_folder_name: 'Fastlane-Demo-Keep-Same-Link',
)
end

0 comments on commit 4dbf937

Please sign in to comment.