Skip to content

Commit f578baa

Browse files
committed
use sha256 extension
1 parent 602e24e commit f578baa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
git push --tags
5656
git push
5757
- name: Upload to github release
58-
run: gh release create "$VERSION" -p -t "$VERSION" "target/clojure@$VERSION.rb" "target/clojure-tools-$VERSION.tar.gz" "target/clojure-tools-$VERSION.tar.gz.sha" "target/linux-install.sh" "target/posix-install.sh" "target/clojure-tools.zip" "target/win-install.ps1" "target/clojure-tools.zip.sha"
58+
run: gh release create "$VERSION" -p -t "$VERSION" "target/clojure@$VERSION.rb" "target/clojure-tools-$VERSION.tar.gz" "target/clojure-tools-$VERSION.tar.gz.sha256" "target/linux-install.sh" "target/posix-install.sh" "target/clojure-tools.zip" "target/win-install.ps1" "target/clojure-tools.zip.sha256"
5959
env:
6060
GH_TOKEN: ${{secrets.GH_TOKEN}}
6161
- name: Publish versioned brew recipe to tap

script/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [[ ! -z "$S3_BUCKET" ]]; then
77
# Write devel properties
88
version=$(cat VERSION)
99
sha=$(shasum -a 256 "target/clojure-tools-$version.tar.gz" | cut -c 1-64)
10-
echo "$sha" > target/clojure-tools-$version.tar.gz.sha
10+
echo "$sha" > target/clojure-tools-$version.tar.gz.sha256
1111
echo "$version $sha" > devel.properties
1212
git add devel.properties
1313
git commit -m "update devel to $version"
@@ -25,7 +25,7 @@ if [[ ! -z "$S3_BUCKET" ]]; then
2525
aws s3 cp --only-show-errors "target/posix-install.sh" "$S3_BUCKET/install/posix-install.sh"
2626
aws s3 cp --only-show-errors "target/posix-install.sh" "$S3_BUCKET/install/posix-install-$version.sh"
2727
echo "Deploying https://download.clojure.org/install/clojure-tools-$version.zip"
28-
echo "$(shasum -a 256 target/clojure-tools.zip | cut -c 1-64)" > target/clojure-tools.zip.sha
28+
echo "$(shasum -a 256 target/clojure-tools.zip | cut -c 1-64)" > target/clojure-tools.zip.sha256
2929
aws s3 cp --only-show-errors "target/clojure-tools.zip" "$S3_BUCKET/install/clojure-tools.zip"
3030
aws s3 cp --only-show-errors "target/clojure-tools.zip" "$S3_BUCKET/install/clojure-tools-$version.zip"
3131
echo "Deploying https://download.clojure.org/install/win-install-$version.ps1"

0 commit comments

Comments
 (0)