Skip to content

Dynamic version #85

@mottosso

Description

@mottosso

Goal

Reduce overhead when iterating on versions.

Motivation

When working on a small or environment-only package, I often find myself making many versions, often within the span of a minute. Most of the time is spent forgetting to increment the version, remembering that I'd like to keep it (for before/after comparisons), reverting back (manually) and re-installing a package once more.

Implementation

Facilitate a macro for a version.

name = "my_package"
version = "1.0.{latest_plus_one}"

Such that you get a new verison every time you..

rez build --install  # 1.0.0
rez build --install  # 1.0.1
rez build --install  # 1.0.2
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions