Skip to content

kernel-builder: upload README to version branch as well - #791

Merged
danieldk merged 3 commits into
mainfrom
upload-readme-to-version
Aug 27, 2026
Merged

kernel-builder: upload README to version branch as well#791
danieldk merged 3 commits into
mainfrom
upload-readme-to-version

Conversation

@danieldk

Copy link
Copy Markdown
Member

No description provided.

Comment thread kernel-builder/src/upload.rs Outdated
collect_readme_commit_ops(temp_dir.path(), &BTreeSet::new(), &mut operations);
assert!(operations.is_empty());
}

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.

Shouldn't we also test if the card is uploaded to the provided version as well?

sayakpaul
sayakpaul previously approved these changes Aug 27, 2026

@sayakpaul sayakpaul left a comment

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.

Thanks! Just one comment.

This was a really weird case where the user did not specify a branch,
there was no branch in `build.toml` and the branch could not be
discovered from metadata. In that case we would only upload `README.md`
to the main branch (which would then possibly be out-of-sync)? In such
such a case, bail out with an error instead.

@sayakpaul sayakpaul left a comment

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.

Very nice and thanks for iterating!

@danieldk
danieldk merged commit 77b13f8 into main Aug 27, 2026
51 checks passed
@danieldk
danieldk deleted the upload-readme-to-version branch August 27, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants