Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Don't filter OLM releases to be just from master (#348)
Browse files Browse the repository at this point in the history
OLM started building releases from release branches, consider those
releases as well
  • Loading branch information
kevinrizza authored Jun 9, 2021
1 parent 4580657 commit 06a3680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/services/operatorsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const fetchLatestOlmVersion = () => (dispatch: IDispatch) => {
axios
.get(latestOlmVersionRequest)
.then(response => {
const latestRelease = response.data.filter(release => release.target_commitish === 'master')[0];
const latestRelease = response.data.filter(release => release.draft !== true)[0];

if (latestRelease && latestRelease.tag_name) {
dispatch({
Expand Down

0 comments on commit 06a3680

Please sign in to comment.