Skip to content

Commit 453e45d

Browse files
update build groups
1 parent 6da1653 commit 453e45d

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Apps/fastlane/helpers/build_helper.rb

+11-8
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,22 @@
123123
build_notes # return value
124124
end
125125

126-
lane :get_build_test_groups do
127-
test_groups = ['all-builds'] # send all builds to group 'all-builds'. Therefore, set it here and we will not remove it.
126+
lane :get_build_test_groups do
127+
test_groups = ['all-builds'] # send all builds to group 'all-builds'. Therefore, set it here and we will not remove it.
128+
test_groups.append("feature-branch") # Feature branch will be used when a PR is merged into a feature branch. We will need to add a check for this.
128129
github = GitHub.new()
129-
130-
# 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.
131-
# If a commit is merged into main, it's considered stable because we deploy to production on merges to main.
130+
131+
# 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.
132+
# If a commit is merged into main, it's considered stable because we deploy to production on merges to main.
132133
if github.is_commit_pushed && github.push_branch == "main"
133-
test_groups.append("stable-builds")
134+
test_groups.append("stable-builds")
135+
test_groups.append("next") # Next group will depricate the 'stable` builds group'.
136+
test_groups.append("public") # Temp send to public group until we actually build from the deployed SDK.
134137
end
135138

136139
test_groups = test_groups.join(", ")
137140

138141
UI.important("Test group names that will be added to this build: #{test_groups}")
139142

140-
test_groups # return value
141-
end
143+
test_groups # return value
144+
end

0 commit comments

Comments
 (0)