Skip to content

Commit

Permalink
Merge pull request #1 from scotttwittrockcio/new-build-groups
Browse files Browse the repository at this point in the history
Add new build groups
  • Loading branch information
scotttwittrockcio authored Oct 30, 2024
2 parents 6da1653 + 4c7988c commit 51879fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Apps/fastlane/helpers/build_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,15 @@
end

lane :get_build_test_groups do
test_groups = ['all-builds'] # send all builds to group 'all-builds'. Therefore, set it here and we will not remove it.
test_groups = ['all-builds', 'feature-branch'] # send all builds to group 'all-builds'. Therefore, set it here and we will not remove it.
github = GitHub.new()

# To avoid giving potentially unstable builds of our sample apps to certain members of the organization, we only send builds to "stable" group uncertain certain situations.
# If a commit is merged into main, it's considered stable because we deploy to production on merges to main.
if github.is_commit_pushed && github.push_branch == "main"
test_groups.append("stable-builds")
test_groups.append("next")
test_groups.append("public") # Push to public until we create a job that actually pulls from the deployed version of the sdk
end

test_groups = test_groups.join(", ")
Expand Down

0 comments on commit 51879fd

Please sign in to comment.