Skip to content

Commit

Permalink
Add hook to do postN releases
Browse files Browse the repository at this point in the history
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...
  • Loading branch information
masklinn committed Dec 5, 2024
1 parent 3bd09b7 commit f67e8bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ua-parser-builtins/hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def update(self, metadata: dict[str, Any]) -> None:
}
},
)
if v in ("0.15.0", "0.16.0", "0.18.0"):
v = f"{v}.post1"

metadata["version"] = v


Expand Down

0 comments on commit f67e8bb

Please sign in to comment.