Skip to content

Commit ac40048

Browse files
authored
Run mirror-branches as part of update-to-head (#895)
1 parent 7183768 commit ac40048

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

openshift/release/update-to-head.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@
2121
# Synchs the release-next branch to main and then triggers CI
2222
# Usage: update-to-head.sh
2323

24-
set -e
24+
set -eo pipefail
2525
REPO_NAME=$(basename "$(git rev-parse --show-toplevel)")
2626

2727
source openshift/release/common.sh
2828

29+
# Check if there's an upstream release we need to mirror downstream
30+
openshift/release/mirror-upstream-branches.sh
31+
2932
robot_trigger_msg=":robot: triggering CI on branch 'release-next' after synching from upstream/main"
3033

3134
# Reset release-next to upstream/main.

0 commit comments

Comments
 (0)