Commit a3228e2
authored
Ensure docs gen inserts at correct place in file (#18250)
The regex for finding the latest release (as a fallback when current is not in
the file) had a bug. This caused the generated docs to be inserted at the wrong
place in the file (the end of the file) instead of the top. This commit fixes
the logic such that we find the last release when the current is not found.1 parent 1356c66 commit a3228e2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments