With 2.60.1 (with a backport of the change in #903)
I was confused the other day why one of our baked .rxt files picked up some incompatible changes made I had just made (and the released files didn't match the tagged version in git)
..I might just be confusing myself further, but I think the problem is that the rez release checks, sometimes, don't catch that the version already exists, and then happily overwrites the existing package.
For example, the proc package has some unreleased changes since 0.4.0:
I'm not too sure why the "variant already exists" error didn't pick up in the first case, and suspect this may be hard to debug (some combination of Windows weirdness and file-server-weirdness?). Even stranger is isn't picking up the tag already existing which I assume should involve less moving parts
Any ideas on why this might be happening, or other info I can provide?
With 2.60.1 (with a backport of the change in #903)
I was confused the other day why one of our baked
.rxt
files picked up some incompatible changes made I had just made (and the released files didn't match the tagged version in git)..I might just be confusing myself further, but I think the problem is that the
rez release
checks, sometimes, don't catch that the version already exists, and then happily overwrites the existing package.For example, the
proc
package has some unreleased changes since 0.4.0:I then run
rez release
, forgetting to bump the version - this should error as 0.4.0 has already been released:However when I later make the same mistake, it does correctly error:
I'm not too sure why the "variant already exists" error didn't pick up in the first case, and suspect this may be hard to debug (some combination of Windows weirdness and file-server-weirdness?). Even stranger is isn't picking up the tag already existing which I assume should involve less moving parts
Any ideas on why this might be happening, or other info I can provide?