Closed jgaines closed 7 months ago
I agree the indirections aren't great.
The goal of this change was the release binary keeping executable permissions after downloading and unzipping it. See https://github.com/actions/upload-artifact/issues/38
For some reason the artifact uploading action does not support this, so you need to zip the artifact yourself, and then we now see that the releases also zip it up again unfortunately.
I have already put in a PR to the asdf plugin to fix the issue (unzip again). https://github.com/jtakakura/asdf-odin/pull/2
I think this can be closed, there isn't anything to be done here anymore, the releases are just packaged a bit differently now, and the third-party automated things like setup-odin and asdf-odin have already been updated to handle it correctly.
Context
The latest odin-ubuntu-amd64-dev-2024-03.zip release file appears to have been packaged wrong. The contents of the zip file are another zip file named dist.zip
I'm using mise (formerly rtx) which uses the asdf plugin to install Odin. The current dev-2024-03 version is not installable with mise or asdf because the packaging of this version doesn't match the expected directory structure.
Expected Behavior
The prior release version zip file contained the correct internal structure:
Current Behavior
The latest release zip contains just a dist.zip file:
Extracting the dist.zip appears as though it might have the correct file, but there's yet another layer of directory in the zip:
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Failure Logs
Please include any relevant log snippets or files here.