Skip to content

Commit

Permalink
Merge pull request #527 from hannobraun/release
Browse files Browse the repository at this point in the history
Try to trigger release for v0.6.0 again
  • Loading branch information
hannobraun authored May 5, 2022
2 parents 46a6b80 + bb47aed commit 750309d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tools/release-operator/src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ impl Release {
// Try and find the pull-request that the commit was part of to examine it.
// A release can only ever be triggered by a pull-request being merged.
if GitHub::find_pull_request_by(sha, label)?.is_none() {
log::info!(
"Could not find a pull request with hash {sha} and label \
{label}",
);
return self.miss();
}

Expand All @@ -46,7 +50,12 @@ impl Release {

match version {
Some(v) => self.hit(v.as_str()),
None => self.miss(),
None => {
log::info!(
"Commit message is missing version number: {commit}",
);
self.miss()
}
}
}

Expand Down

0 comments on commit 750309d

Please sign in to comment.