Skip to content

Commit a03187b

Browse files
committed
Add hook to do postN releases
Turns out I did a booboo which was predictable, and if we want to track the versioning of uap-core we can't just start diverging. post-releases provide a path forwards, but was not initially predicted. Special case the existing stable releases in the script, might do something smarter eventually if necessary but...
1 parent 3bd09b7 commit a03187b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ua-parser-builtins/hatch_build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ def update(self, metadata: dict[str, Any]) -> None:
2323
}
2424
},
2525
)
26+
if v in ('0.15.0', '0.16.0', '0.18.0'):
27+
v = f'{v}.post1'
28+
2629
metadata["version"] = v
2730

2831

0 commit comments

Comments
 (0)