-
-
Notifications
You must be signed in to change notification settings - Fork 302
Commit 8123bcb
fix: only use version tags when generating a changelog
This commit ensures that the tags used to generate the changelog are all correctly parsed by Version()
This fixes two bugs:
- The header of the changelog could be a non-version tag
- The rev-range computed when running could use a non-version tag as a lower bound1 parent e7d81d6 commit 8123bcb
File tree
7 files changed
+263
-9
lines changed- commitizen
- commands
- tests
- commands
7 files changed
+263
-9
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | - | ||
33 | + | ||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 | + | ||
37 | 38 |
| |
38 | 39 |
| |
39 | 40 |
| |
40 | - | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
41 | 47 |
| |
42 | 48 |
| |
43 | 49 |
| |
| |||
67 | 73 |
| |
68 | 74 |
| |
69 | 75 |
| |
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
70 | 89 |
| |
71 | 90 |
| |
72 | 91 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
140 | - | ||
140 | + | ||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
92 | 92 |
| |
93 | 93 |
| |
94 | 94 |
| |
95 | - | ||
95 | + | ||
96 | + | ||
97 | + | ||
96 | 98 |
| |
97 | 99 |
| |
98 | 100 |
| |
99 | - | ||
101 | + | ||
102 | + | ||
103 | + | ||
104 | + | ||
105 | + | ||
106 | + | ||
107 | + | ||
108 | + | ||
109 | + | ||
110 | + | ||
100 | 111 |
| |
101 | 112 |
| |
102 | 113 |
| |
|
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 | + | ||
73 | + | ||
74 | + | ||
72 | 75 |
| |
73 | 76 |
| |
74 | 77 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
| |||
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
21 | + | ||
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
| |||
1267 | 1269 |
| |
1268 | 1270 |
| |
1269 | 1271 |
| |
1272 | + | ||
1273 | + | ||
1274 | + | ||
1275 | + | ||
1276 | + | ||
1277 | + | ||
1278 | + | ||
1279 | + | ||
1280 | + | ||
1281 | + | ||
1282 | + | ||
1283 | + | ||
1284 | + | ||
1285 | + | ||
1286 | + | ||
1287 | + | ||
1288 | + | ||
1289 | + | ||
1290 | + | ||
1291 | + | ||
1292 | + | ||
1293 | + | ||
1294 | + | ||
1295 | + | ||
1296 | + | ||
1297 | + | ||
1298 | + | ||
1299 | + | ||
1300 | + | ||
1301 | + | ||
1302 | + | ||
1303 | + | ||
1304 | + | ||
1305 | + | ||
1306 | + | ||
1307 | + | ||
1308 | + | ||
1309 | + | ||
1310 | + | ||
1311 | + | ||
1312 | + | ||
1313 | + | ||
1314 | + | ||
1315 | + | ||
1316 | + | ||
1317 | + | ||
1318 | + | ||
1319 | + | ||
1320 | + | ||
1321 | + | ||
1322 | + | ||
1323 | + | ||
1324 | + | ||
1325 | + | ||
1326 | + | ||
1327 | + | ||
1328 | + | ||
1329 | + | ||
1330 | + | ||
1331 | + | ||
1332 | + | ||
1333 | + | ||
1334 | + | ||
1335 | + | ||
1336 | + | ||
1337 | + | ||
1338 | + | ||
1339 | + | ||
1340 | + | ||
1341 | + | ||
1342 | + | ||
1343 | + | ||
1344 | + | ||
1345 | + | ||
1346 | + | ||
1347 | + | ||
1348 | + | ||
1349 | + | ||
1350 | + | ||
1351 | + | ||
1352 | + | ||
1353 | + | ||
1354 | + | ||
1355 | + | ||
1356 | + |
0 commit comments