Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/pre-release-builds.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
continue;
}

if (!empty($allowedBranches) && empty($allowedBranches[$branch])) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem right. It will then show a warning when $allowedBranches is not empty.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @derickr. I might have tried to fix too hastily. If you agree that Windows RCs should follow source RCs, I will take a better look

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upon further inspection, I'm not sure what you mean...

If you look at the previous condition, when the array is empty (as it is now), !empty($allowedBranches) returns false, so the code skips the continue and shows every Windows RC.

if (empty($allowedBranches[$branch])) {
continue;
}

Expand Down