Commit 757a1fe
authored
ci: pass bumped version and post-bump ref to docs jobs in release flow (#806)
## Summary
The v3.0.0 release versioned the docs as `2.5` instead of `3.0`
(overwriting v2.5 content with v3). Root cause:
`manual_version_docs.yaml` reads `uv version --short` from a checkout of
the workflow's dispatch ref (pre-bump), so the job sees the old version.
Run
[#26156928273](https://github.com/apify/apify-client-python/actions/runs/26156928273)
logged `Version: 2.5.1, Major.Minor: 2.5, Major: 2`; bad output is
commit e0a0bc8.
## Fix
- `manual_version_docs.yaml` — optional `version_number` input; snapshot
step uses it when set, falls back to `uv version --short` for manual
dispatch.
Companion data-restore PR: #808.1 parent 0662b4a commit 757a1fe
2 files changed
Lines changed: 26 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
9 | 21 | | |
10 | 22 | | |
11 | 23 | | |
| |||
56 | 68 | | |
57 | 69 | | |
58 | 70 | | |
| 71 | + | |
| 72 | + | |
59 | 73 | | |
60 | 74 | | |
61 | 75 | | |
62 | | - | |
63 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
64 | 84 | | |
65 | 85 | | |
66 | 86 | | |
| |||
0 commit comments