Open straight-shoota opened 2 years ago
For reference, these are the files published on the last GitHub release (https://github.com/crystal-lang/crystal/releases/tag/1.3.2):
crystal-1.3.2-1-darwin-universal.tar.gz (43.8 MB) 2.5k
crystal-1.3.2-1-linux-x86_64-bundled.tar.gz (28.3 MB) 162
crystal-1.3.2-1-linux-x86_64.tar.gz (27.9 MB) 12.0k
crystal-1.3.2-1.universal.pkg (43.8 MB) 41
crystal-1.3.2-docs.tar.gz (12.1 MB) 30
crystal-1.3.2-windows-x86_64-msvc-unsupported.zip 30.8 MB 167
(The numbers at the end are the numbers of downloads.)
This also sparks the question whether the darwin .pkg
is actually useful when almost everyone uses the .tar.gz
. I don't even know if there's a significant difference between the two formats.
The following files are currently produced as build artifacts of the nightly release workflow on circleci (see https://app.circleci.com/pipelines/github/crystal-lang/crystal/8502/workflows/77e21f43-14ad-4840-91c7-53a30649ca20/jobs/68065).
I'm wondering about the purpose of some of them. I suppose some are just intermediary steps that just happen do end up being published.
.tar
files are redundant and more wasteful than the compressed counterparts.tar.gz
, but the linux build also has atar.xz
. Is there a particular reason for this? The xc compression seems quite more efficient than gz. But it's still a question whether the duplication makes sense. Or if we should consider xc compressed files for other artifacts as well.json
file is completely unnecessary. That's just a temporary artifact from the API docs build process.This initiative is related to https://github.com/crystal-lang/crystal/pull/11902.
Some of these artifacts probably don't need to be pushed at all, others may be useful for debugging but don't need to be made publicly available.