Skip to content

Commit 139c61b

Browse files
committed
Add main branch bundle update during release process
Signed-off-by: David Kwon <dakwon@redhat.com>
1 parent ea05e2b commit 139c61b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

make-release.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,14 @@ release() {
324324
update_images "$NEXT_VERSION_Z"
325325
git_commit_and_push "chore: release: bump to ${NEXT_VERSION_Z} in $X_BRANCH" "ci-bump-$X_BRANCH-$NEXT_VERSION_Z"
326326

327+
# Add bundle to main branch
328+
git checkout "${MAIN_BRANCH}"
329+
git checkout "${X_BRANCH}" -- olm-catalog/release/channel.yaml
330+
git checkout "${X_BRANCH}" -- olm-catalog/release/devworkspace-operator.v$VERSION.bundle.yaml
331+
git_commit_and_push "chore: Add v${VERSION} bundle to main branch" "ci-add-bundle-$VERSION"
332+
327333
echo "[INFO] Release is done"
334+
328335
}
329336

330337
parse_args "$@"

0 commit comments

Comments
 (0)