Open verbit opened 5 months ago
Hm, I thought we fixed this in 4.0.0 but I see I had left an comment at the end https://github.com/erlware/relx/issues/729#issuecomment-520848982
I'm not sure yet about just changing this, there must have been a reason it wasn't simply changed.
When creating a tar,
relx
produces the following structure (simplified for demonstration)in a file named
myrel-0.7.0.tar.gz
.Now, if I want to unpack that with
release_handler
, it expects the structure to look like this (note the name of the.rel
files):That is, when unpacking a release called
RelPackageName.tar.gz
, it expects the.rel
files to be namedRelPackageName.rel
. Therelx
-generated script plays some tricks to make it work but that forces everyone to do the same when not using anythingrelx
-specific for upgrades.So my question is: Is there a reason
relx
usesRelName.rel
for.rel
files? Can this be changed toRelName-Vsn.rel
to make theRelName-Vsn.tar.gz
tar compatible with plainrelease_handler
? Am I missing something?