Skip to content

Provide optional "dev" version augmentation #209

@arcivanov

Description

@arcivanov

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 version in build.py as ".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 .dev0 turned into .devNm where N is a UTC microsecond timestamp, in the form of YYYYDDMMHHmmSSssssss.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions