Skip to content

Commit

Permalink
[Bugfix] comment-changes: ExitCode in Case that Tag does not Exist (#…
Browse files Browse the repository at this point in the history
…1120)

* Skip ::= adjust ExitCode for not-existing tag

* Create summary of recent changes

---------

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
kevinmatthes and github-actions[bot] committed Jan 18, 2024
1 parent 8db45a2 commit 3f3b9d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(
references: {},
changes: {},
)
2 changes: 1 addition & 1 deletion src/changelog/comment_changes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl Logic {
let oid = git2::Oid::from_str(stop).map_or_else(
|_| {
eprintln!("`{stop}` does not seem to exist.");
Err(ExitCode::DataErr)
Err(ExitCode::Usage)
},
Ok,
)?;
Expand Down

0 comments on commit 3f3b9d3

Please sign in to comment.