Commit 1d4c077
committed
fix release docs-update step + restore stripped version refs
The release workflow's "Update documentation with released version" step
re-reads release.properties to get TAG and VERSION, but release:perform
deletes that file as part of its cleanup. When the step runs, grep returns
nothing, VERSION is empty, and the sed commands strip versions from README
and the bug-report template with no replacement. Commit 8ca2836 ("docs:
update version references to ", trailing space) shows it firing during the
v0.4.1 release in April.
Step 1 already exports `version` to $GITHUB_OUTPUT before release:perform
runs, so the docs step can consume it directly. Switch to that, add an
empty-value guard so a future regression fails loudly, and pass the value
in via `env:` per GitHub Actions injection-prevention guidance.
Also restore the version refs that the prior failure left empty:
- README Gradle dependency line: 1.0.0-SNAPSHOT
- bug-report template Library version example: 1.0.01 parent b90ef39 commit 1d4c077
3 files changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
54 | 59 | | |
55 | | - | |
56 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
| |||
67 | 74 | | |
68 | 75 | | |
69 | 76 | | |
70 | | - | |
71 | | - | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments