Commit d954fa4
committed
[CI] Remove replace version in OLM
The current logic is brittle, and it is guaranteed to break after we
release 2.10.0.
The problem with `ls -1v` is that it lists in alphabetical order, not
in semver order. That means that a list with 2.1.0, 2.9.0, 2.10.0 and
2.11.0 would be listed as:
2.1.0
2.10.0
2.11.0
2.9.0
The previous logic would always yield 2.9.0 (bottom) as the replace
version. That is not correct for 2.11.0.
The opm validator does not complain by not providing a "replaces"
version, so it may just be fine and OLM may have some magic sauce to
figure out what version to upgrade to.
[skip ci]1 parent 3ae6730 commit d954fa4
File tree
2 files changed
+2
-6
lines changed- .github/workflows
- scripts
2 files changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | 218 | | |
220 | | - | |
221 | 219 | | |
222 | 220 | | |
223 | 221 | | |
| |||
253 | 251 | | |
254 | 252 | | |
255 | 253 | | |
256 | | - | |
257 | 254 | | |
258 | | - | |
259 | 255 | | |
260 | 256 | | |
261 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
0 commit comments