Commit 48690eb
committed
fix: preserve version in generate_pyproject when updated by semantic-release
- Detect when version in pyproject.toml differs from .project.yml
- Preserve the existing version (set by semantic-release) instead of overwriting
- Fixes issue where generate_pyproject would reset version from 1.0.0 back to 0.2.3
- Now correctly builds packages with semantic-release determined version
- Maintains clean separation between semantic-release and build process1 parent 59e39f0 commit 48690eb
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
107 | 118 | | |
108 | 119 | | |
109 | 120 | | |
| |||
115 | 126 | | |
116 | 127 | | |
117 | 128 | | |
118 | | - | |
| 129 | + | |
119 | 130 | | |
120 | 131 | | |
121 | 132 | | |
| |||
0 commit comments