Skip to content

Commit

Permalink
Updated demo project for keep same link option
Browse files Browse the repository at this point in the history
  • Loading branch information
vineetchoudhary committed Jan 14, 2019
1 parent d5ae794 commit b9e6b76
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>1.1</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
Expand Down
Binary file modified AppBox-Fastlane-Demo-Project/default.profraw
Binary file not shown.
32 changes: 30 additions & 2 deletions AppBox-Fastlane-Demo-Project/fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,41 @@
default_platform(:ios)

platform :ios do
desc "Generate IPA file and Create an sharable link using AppBox"
desc "Upload IPA file and Send an email to single email."
lane :gymbox do
gym
appbox(
emails: 'info@developerinsider.in',
)
end

desc "Upload IPA file and Send email with a custom message."
lane :gymbox_message do
gym
appbox(
emails: 'info@developerinsider.in',
message: '{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.',
)
end

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

desc "Upload IPA file and keep the same link for all future upload IPAs in Custom Dropbox folder."
lane :gymbox_custom_db_dir_name do
gym
appbox(
emails: 'info@developerinsider.in',
message: '{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.',
keep_same_link: true
keep_same_link: true,
dropbox_folder_name: 'Fastlane-Demo-Keep-Same-Link',
)
end
end
17 changes: 16 additions & 1 deletion AppBox-Fastlane-Demo-Project/fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,22 @@ or alternatively using `brew cask install fastlane`
```
fastlane ios gymbox
```
Generate IPA file and Create an sharable link using AppBox
Upload IPA file and Send an email to single email.
### ios gymbox_message
```
fastlane ios gymbox_message
```
Upload IPA file and Send email with a custom message.
### ios gymbox_keep_same_link
```
fastlane ios gymbox_keep_same_link
```
Upload IPA file and keep the same link for all future upload IPAs.
### ios gymbox_custom_db_dir_name
```
fastlane ios gymbox_custom_db_dir_name
```
Upload IPA file and keep the same link for all future upload IPAs in Custom Dropbox folder.

----

Expand Down
11 changes: 2 additions & 9 deletions AppBox-Fastlane-Demo-Project/fastlane/report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,12 @@



<testcase classname="fastlane.lanes" name="0: default_platform" time="0.001669">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.001321">

</testcase>


<testcase classname="fastlane.lanes" name="1: gym" time="126.538072">

</testcase>


<testcase classname="fastlane.lanes" name="2: appbox" time="0.004361">

<failure message="/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/actions/actions_helper.rb:48:in `execute_action'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/runner.rb:232:in `block in execute_action'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/fast_file.rb:154:in `method_missing'&#10;Fastfile:7:in `block (2 levels) in parsing_binding'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/lane.rb:33:in `call'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/runner.rb:45:in `execute'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/commands_generator.rb:333:in `run'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/fastlane/lib/fastlane/cli_tools_distributor.rb:108:in `take_off'&#10;/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-2.112.0/bin/fastlane:23:in `&lt;top (required)&gt;'&#10;/usr/local/bin/fastlane:23:in `load'&#10;/usr/local/bin/fastlane:23:in `&lt;main&gt;'&#10;&#10;Could not find option 'keep_same_link' in the list of available options: emails, appbox_path, message" />
<testcase classname="fastlane.lanes" name="1: gym" time="14.912851">

</testcase>

Expand Down

0 comments on commit b9e6b76

Please sign in to comment.