Skip to content

Commit

Permalink
Apply review feedback
Browse files Browse the repository at this point in the history
- Close parenthesis on line 11
- Remove mention of hyphen range comparisons

Signed-off-by: Michael Ryan Peter <mipeter@redhat.com>
  • Loading branch information
michaelryanpeter committed Nov 27, 2023
1 parent a112f0f commit 164bb28
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions docs/drafts/version-ranges.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,18 @@ You define a version range by adding a comparison string to the `spec.version` f

#### Basic comparisons

| Operator | Definition |
|----------|-----------------------------------|
| `=` | equal (not aliased to an operator |
| `!=` | not equal |
| `>` | greater than |
| `<` | less than |
| `>=` | greater than or equal to |
| `<=` | less than or equal to |
| Operator | Definition |
|----------|------------------------------------|
| `=` | equal (not aliased to an operator) |
| `!=` | not equal |
| `>` | greater than |
| `<` | less than |
| `>=` | greater than or equal to |
| `<=` | less than or equal to |

#### Range comparisons

OLM 1.0 does not support hypen range comparisons.
For example, the following range option is not supported:

```yaml
version: 3.0 - 3.6
```

To specify a version range, use a method similar to the following example:
To specify a version range, use a range comparison similar to the following example:

```yaml
version: >=3.0, <3.6
Expand Down

0 comments on commit 164bb28

Please sign in to comment.