Skip to content

Fix CI workflows for publishing releases. #21789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

WojciechMazur
Copy link
Contributor

@WojciechMazur WojciechMazur commented Oct 16, 2024

Reuse SDKs generated in build-sdk-package job.

Store .sha256 for each of the files, instead of creating sha256.txt with shas for the reach directory to ease validation. eg. now instead of having sha256.txt, we would have a set of files:

  • scala-3.6.0.zip
  • scala-3.6.0.zip.sha256
  • scala-3.6.0-tar.gz
  • scala-3.6.0-tar.gz.sha256

The same applies to all native distributions but with additional suffixes, eg. scala-3.6.0-x86_64-pc-linux.zip.sha256.
By having an SHA file containing only a single digest it should be much easier to verify the correctness of the downloaded file. Additionally, by keeping consistent names between the archive file and its zip file it's easier to find expected SHA. The approach is partially based on Bazel way of publishing artefacts.

Required to unblock the 3.6.0-RC1 release https://github.com/scala/scala3/actions/runs/11365076845

…ld-sdk-package.

Store .sha256 for each of the files, instead of creating sha256.txt with shas for reach directory to ease validatation
@WojciechMazur WojciechMazur force-pushed the fix/ci-publish_release branch from e11abb9 to a472087 Compare October 16, 2024 17:13
@hamzaremmal hamzaremmal self-assigned this Oct 17, 2024
@WojciechMazur WojciechMazur merged commit 6d9ee4d into scala:main Oct 17, 2024
28 checks passed
@WojciechMazur WojciechMazur deleted the fix/ci-publish_release branch October 17, 2024 17:30
WojciechMazur added a commit that referenced this pull request Oct 17, 2024
Reuse SDKs generated in `build-sdk-package` job.
Store .sha256 for each of the files, instead of creating sha256.txt with
shas for the reach directory to ease validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants