- Added Feature 1
- Added Feature 2
- Added Feature 3
- Step 1
lane :publish_to_firebase do |options| | |
build_notes = "Environment: #{options[:flavor].capitalize}. Branch: #{options[:branch]}. Notes: #{options[:notes]}. Built by #{options[:author]}" | |
firebase_app_distribution( | |
app: "#{options[:app_id]}", | |
groups: "name-of-your-test-group", | |
release_notes: build_notes, | |
apk_path: "app/build/outputs/apk/#{options[:flavor].downcase}/release/app-#{options[:flavor].downcase}-release.apk", | |
firebase_cli_token: "#{options[:firebase_token]}" | |
) |
lane :stage do |options| | |
commit = last_git_commit | |
if options[:branch] != "develop" and commit[:message].downcase.include? "#upload" or options[:branch] == "master" | |
release_type = "Release" | |
commit_notes = "" | |
if(options[:branch] == "master") | |
commit_notes = "Release candidate. #{commit[:message]}" | |
else | |
commit_notes = commit[:message].sub("#upload ", "") |
alpha_stage: | |
<<: *container_config | |
steps: | |
- checkout | |
- | |
run: | |
command: bundle update fastlane && gem install bundler && bundle install | |
name: configure build | |
- | |
restore_cache: |