Commit f5f7610
authored
fix: auto-bump patch version in release workflow (#4)
Previously, when the Release workflow was triggered by workflow_run (after CI
completes on main), it would skip the release if the current version tag already
existed. This required manual version bumps before each release.
Now, when triggered by workflow_run:
- If current version tag doesn't exist → release with current version
- If current version tag exists → auto-bump patch version, update Cargo.toml, then release
This makes releases fully automatic after merging PRs to main.1 parent 24e05d6 commit f5f7610
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| |||
0 commit comments