-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
27 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
json_key_file("?C:/googlekeystore/umc-5th-campusnote-a31e80b26610.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one | ||
json_key_file("?./umc-5th-campusnote-a31e80b26610.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one | ||
package_name("com.notation.campusnote") # e.g. com.krausefx.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ default_platform(:android) | |
|
||
platform :android do | ||
before_all do | ||
ENV["SLACK_URL"] = "https://hooks.slack.com/services/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" | ||
ENV["SLACK_URL"] = "https://hooks.slack.com/services/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" | ||
end | ||
|
||
desc "Runs all the tests" | ||
|
@@ -42,32 +42,38 @@ platform :android do | |
|
||
desc "Lane for distribution" | ||
lane :distribute do | ||
gradle( task: "clean assembleRelease") | ||
gradle(task: "clean assembleRelease") | ||
gradle( | ||
task: "assemble", | ||
) | ||
firebase_app_distribution( | ||
app: "1:152814340752:android:d334473d644773a287a615", | ||
debug: true | ||
) | ||
end | ||
|
||
lane :slack_build do | ||
gradle( task: "clean assembleRelease") | ||
gradle(task: "clean assembleRelease") | ||
gradle( | ||
task: "assemble", | ||
) | ||
firebase_app_distribution( | ||
app: "1:152814340752:android:d334473d644773a287a615", | ||
testers: "[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]", | ||
debug: true | ||
) | ||
slack(message: "Build Successful!") | ||
|
||
latest_release = firebase_app_distribution_get_latest_release( | ||
app: "1:152814340752:android:d334473d644773a287a615", | ||
debug: true | ||
) | ||
|
||
slack( | ||
message: "successful deploy :rocket: link for app is : " + latest_release[:testingUri] | ||
) | ||
end | ||
|
||
# Add this to your Fastfile | ||
after_all do |lane| | ||
latest_release = firebase_app_distribution_get_latest_release( | ||
app: "1:152814340752:android:d334473d644773a287a615", | ||
debug: true | ||
) | ||
slack( | ||
message: "successful deploy :rocket: link for app is : " + latest_release[:testingUri] | ||
) | ||
end | ||
|
||
error do |lane, exception| | ||
slack( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters