Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #17

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ The above examples are the most simple configuration you can have but you can ad
|--------------------------|--------------------------------------|-----------|--------------|
| `app_token` | Applivery App Token | YES | string -> Available in the App Settings |
| `name` | Applivery Build name | NO | string-> i.e.: "RC 1.0" |
| `notify_collaborators` | Notify Collaborators after deploy | NO | booletan -> i.e.: `true` / `false` |
| `notify_employees` | Notify Employees after deploy | NO | booletan -> i.e.: `true` / `false` |
| `notify_collaborators` | Notify Collaborators after deploy | NO | boolean -> i.e.: `true` / `false` |
| `notify_employees` | Notify Employees after deploy | NO | boolean -> i.e.: `true` / `false` |
| `notify_message` | Notification message | NO | string -> i.e.: "Enjoy the new version!" |
| `changelog` | Release notes | NO | string -> i.e.: "Bug fixing" |
| `tags` | Tags to identify the build | NO | string -> comma separated. i.e.: `"RC1, QA"` |
| `filter` | List of groups that will be notified | NO | string -> comma separated + special chars. i.e.: `"group1,group2\|group3"` = (grupo1 AND grupo2) OR (grupo3) |
| `build_path` | Build path to the APK / IPA file | NO | string -> by default it takes the IPA/APK build path |
| `build_path` | Build path to the APK/AAB/IPA file | NO | string -> by default it takes the IPA/APK build path |

## Shared Value
Once your build is uploaded successfuly, the new generated build ID is provided by a Shared Value `APPLIVERY_BUILD_ID` that can be accesed in your lane with `lane_context[SharedValues::APPLIVERY_BUILD_ID]`
Expand All @@ -85,11 +85,16 @@ lane :applivery_ios do
end
```

You could use this id to open your build information in applivery like:
You could use this id to open your build information in Applivery like:

```
https://dashboard.applivery.io/apps/apps/{YOUR_APP_SLUG}/builds?id={THIS_BUILD_ID}
https://dashboard.applivery.io/{YOUR_WORKSPACE_SLUG}/apps/{YOUR_APP_SLUG}/builds?id={THIS_BUILD_ID}
```
Or to create a direct link to a specific build in your enterprise store:
```
"https://{YOUR_WORKSPACE_SLUG}.applivery.io/#{YOUR_APP_SLUG}?os={APP_OS}&build=#{THIS_BUILD_ID}"
```
Where `APP_OS` can be `ios|android`.

## Run tests for this plugin

Expand Down
2 changes: 1 addition & 1 deletion lib/fastlane/plugin/applivery/actions/applivery_action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def self.run(params)
UI.verbose "Response Body: #{response.body}"
status = response.body["status"]
if status
UI.success "Build uploaded succesfully! 💪"
UI.success "Build uploaded successfully! 💪"
Actions.lane_context[SharedValues::APPLIVERY_BUILD_ID] = response.body["data"]["id"]
else
UI.error "Oops! Something went wrong.... 🔥"
Expand Down