Skip to content

Commit 12e08c3

Browse files
chore(hermetic-build): add hint for old commit hash error message (#3415)
This adds a small hint on why it's likely that the release note generation workflow has failed due to the current branch having an older commit than the base branch. Rationale: requires understanding on why "hermetic code library generation" needs an "newer commit".
1 parent 3b88bd6 commit 12e08c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hermetic_build/release_note_generation/generate_pr_description.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ def get_repo_level_commit_messages(
115115
f"current_commit ({current_commit_sha[:7]}, committed on "
116116
f"{current_commit_time}) should be newer than or equal to "
117117
f"baseline_commit ({baseline_commit_sha[:7]}, committed on "
118-
f"{baseline_commit_time})."
118+
f"{baseline_commit_time}) (is this branch up to date with "
119+
f"the base branch?)."
119120
)
120121
qualified_commits = {}
121122
commit = current_commit

0 commit comments

Comments
 (0)