Commit 368c09f
committed
fix: prevent race conditions in release workflow
- Add concurrency control to prevent multiple simultaneous release runs
- Move tag creation AFTER commit to ensure tags point to correct commits
- Reorder steps: bump version → commit → tag → push (correct order)
This prevents the critical race condition where tags pointed to commits
with the wrong version (e.g., tag v0.1.4 pointing to commit with v0.1.3).1 parent a3e0fc7 commit 368c09f
1 file changed
+18
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
79 | | - | |
80 | | - | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
88 | 101 | | |
89 | 102 | | |
90 | 103 | | |
| |||
95 | 108 | | |
96 | 109 | | |
97 | 110 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 111 | | |
102 | | - | |
103 | | - | |
104 | 112 | | |
105 | 113 | | |
106 | 114 | | |
| |||
0 commit comments