Skip to content

Commit

Permalink
Fix changelog script
Browse files Browse the repository at this point in the history
  • Loading branch information
ncaak committed May 24, 2023
1 parent 1554087 commit c389817
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
11 changes: 1 addition & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
# Note: This CHANGELOG is only for the changes in insights operator.
Please see OpenShift release notes for official changes\n<!--Latest hash: e761abf647746c56fb8c2a59fb683984795a0624-->
## 4.14

### Data Enhancement
- [#741](https://github.com/openshift/insights-operator/pull/685) Gather openshift-monitoring persistent volumes

### Others

- [#756](https://github.com/openshift/insights-operator/pull/756) add unit tests for cluster proxy gatherer

Please see OpenShift release notes for official changes\n<!--Latest hash: 08b4171784b8debe038e912ecd8bcab511cf7aa3-->
## 4.13

### Data Enhancement
Expand Down
3 changes: 2 additions & 1 deletion cmd/changelog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ func sinceHashReverseGitLog(hash string) []string {
"--reverse",
fmt.Sprintf("%s..HEAD", hash)).CombinedOutput()
if err != nil {
log.Fatal(err)
// CombinedOutput sends stderr to the 'out' variable
log.Fatalf("%s: %s", err.Error(), string(out))
}
return strings.Split(string(out), "\n")
}
Expand Down

0 comments on commit c389817

Please sign in to comment.