Commit 5cc32a6
committed
👷 ci(release): simplify to one-button workflow (#1727)
* Simplify release flow to one-button workflow
Adopt virtualenv-style release process:
- One "Pre-release" workflow with version bump selector
- Auto-generates version, runs towncrier, commits, tags, and pushes
- Tag push triggers actual release workflow
- Removes complex two-step PR-based flow
Benefits:
- Single button press to release
- Auto version calculation based on changelog fragments
- No manual PR creation/review needed
- Simpler and faster release process
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* 📝 docs(release): split zipapp build and upload in diagram
Separating the zipapp build and upload into distinct steps makes the flow
clearer and matches the actual workflow structure where building and uploading
are separate GitHub Actions jobs.
* 📝 docs(release): use sequence diagram and reorganize sections
Replaced the flowchart with a proper mermaid sequence diagram that clearly
shows the interaction between actors (Maintainer, GitHub Actions, scripts,
and external services) during the release process. This makes the temporal
flow and handoffs between systems more obvious.
Moved the diagram under 'What Happens During Release' section where it makes
more logical sense, as it explains the actual execution flow rather than being
a standalone overview.
* 📝 docs(release): remove custom theme for dark mode compatibility
Custom theme colors looked poor on dark backgrounds. Using mermaid's default
theme provides better contrast and readability across both light and dark
modes.
* 📝 docs(release): replace sequence with state diagram
State diagram better represents the release flow as a progression through
distinct states rather than message passing between actors. Shows version
calculation logic, changelog generation, and publication steps as clear
state transitions.
* 📝 docs(release): make state diagram more compact
Condensed the diagram by combining related steps and using shorter labels
while maintaining clarity about the core flow.
* 📝 docs(release): remove diagram, keep prose explanation
The diagram became too simple after compression to provide meaningful value
beyond what the prose already explains clearly.
---------
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>1 parent eccc2c7 commit 5cc32a6
File tree
5 files changed
+157
-111
lines changed- .github/workflows
- docs
- scripts
5 files changed
+157
-111
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
13 | 8 | | |
14 | 9 | | |
15 | 10 | | |
| |||
19 | 14 | | |
20 | 15 | | |
21 | 16 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 17 | | |
53 | 18 | | |
54 | | - | |
55 | 19 | | |
56 | 20 | | |
57 | 21 | | |
58 | 22 | | |
59 | 23 | | |
60 | 24 | | |
61 | 25 | | |
62 | | - | |
| 26 | + | |
63 | 27 | | |
64 | 28 | | |
65 | | - | |
| 29 | + | |
66 | 30 | | |
67 | 31 | | |
68 | 32 | | |
| |||
77 | 41 | | |
78 | 42 | | |
79 | 43 | | |
80 | | - | |
| 44 | + | |
81 | 45 | | |
82 | 46 | | |
83 | 47 | | |
| |||
87 | 51 | | |
88 | 52 | | |
89 | 53 | | |
90 | | - | |
| 54 | + | |
91 | 55 | | |
92 | 56 | | |
93 | 57 | | |
94 | | - | |
| 58 | + | |
95 | 59 | | |
96 | 60 | | |
97 | 61 | | |
98 | 62 | | |
99 | | - | |
| 63 | + | |
100 | 64 | | |
101 | 65 | | |
102 | | - | |
| 66 | + | |
103 | 67 | | |
104 | 68 | | |
105 | 69 | | |
| |||
113 | 77 | | |
114 | 78 | | |
115 | 79 | | |
116 | | - | |
| 80 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 229 | + | |
233 | 230 | | |
234 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
0 commit comments