Skip to content

Commit 06c13dd

Browse files
committed
include release branches for slack notification
1 parent e34c062 commit 06c13dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.buildkite/commands/run-ui-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ else
4848
echo "For more details about the failed tests, check the Buildkite annotation, the logs under the '🧪 Testing' section and the \`.xcresult\` and test reports in Buildkite artifacts."
4949
fi
5050

51-
if [ "$BUILDKITE_BRANCH" = "trunk" ]; then
51+
if [[ $BUILDKITE_BRANCH == trunk ]] || [[ $BUILDKITE_BRANCH == release/* ]]; then
5252
annotate_test_failures "fastlane/test_output/WooCommerce.xml" --slack "build-and-ship"
5353
else
5454
annotate_test_failures "fastlane/test_output/WooCommerce.xml"

.buildkite/commands/run-unit-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ else
3737
echo "For more details about the failed tests, check the Buildkite annotation, the logs under the '🧪 Testing' section and the \`.xcresult\` and test reports in Buildkite artifacts."
3838
fi
3939

40-
if [ "$BUILDKITE_BRANCH" = "trunk" ]; then
40+
if [[ $BUILDKITE_BRANCH == trunk ]] || [[ $BUILDKITE_BRANCH == release/* ]]; then
4141
annotate_test_failures "fastlane/test_output/WooCommerce.xml" --slack "build-and-ship"
4242
else
4343
annotate_test_failures "fastlane/test_output/WooCommerce.xml"

0 commit comments

Comments
 (0)