-
Notifications
You must be signed in to change notification settings - Fork 268
Closed
Description
As described in #195 it seems to be desirable for PyB to increment generated versions of the artifacts.
It may also be desirable to do it for other projects as well.
The idea is as follows and is borrowed entirely from Maven -SNAPSHOT:
- User specifies
versioninbuild.pyas ".dev0" (or "dev0", that will be normalized into a first version anyway) - PyB uses that version completely unmodified everywhere exception in "install" and "upload" tasks.
- In all such cases the setup.py and other relevant distribution metadata is regenerated/patched with
.dev0turned into.devNm whereNis a UTC microsecond timestamp, in the form ofYYYYDDMMHHmmSSssssss.