Skip to content

Commit

Permalink
Fix paths to archive files
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Dec 12, 2024
1 parent 4940017 commit 9e8108f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,13 @@ jobs:
# Build binaries
./project/scripts/sbt "all ${sbtProject}/Universal/packageBin ${sbtProject}/Universal/packageZipTarball"
outputPath="${distDir}/target/universal/stage"
artifactName="scala3-${{ inputs.version }}${distroSuffix}"
zipArchive="${artifactName}.zip"
tarGzArchive="${artifactName}.tar.gz"
# Caluclate SHA for each of archive files
for file in "${zipArchive}" "${tarGzArchive}"; do
mv $outputPath/$file $file
mv ${distDir}/target/universal/$file $file
sha256sum "${file}" > "${file}.sha256"
done
}
Expand Down

0 comments on commit 9e8108f

Please sign in to comment.