forked from AcademySoftwareFoundation/rez
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
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
...