Skip to content

Commit e31b3d1

Browse files
committed
please.sh upgrade git-lfs: work around incorrect SHA-256 on release page
It would appear that the SHA-256 of the 32-bit Windows .zip for Git LFS v2.2.1 was recorded incorrectly on the release page. Work around it by manually fixing it up. This has been reported to the Git LFS project in the bug ticket git-lfs/git-lfs#2408. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 67d89a7 commit e31b3d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

please.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,6 +2337,11 @@ upgrade () { # <package>
23372337
sed -n "s/$needle1-386-$needle2/\1/p")"
23382338
test 64 = $(echo -n "$sha256_32" | wc -c) ||
23392339
die "Could not determine SHA-256 of 32-bit %s\n" "$package"
2340+
2341+
# Incorrect SHA-256 for 32-bit 2.2.1:
2342+
# see https://github.com/git-lfs/git-lfs/issues/2408
2343+
test 2.2.1,1142055d51a7d70b3c2fbf184db41100457f170a532b638253991821890927b5 != "$version,$sha256_32" || sha256_32=0d6347bbdf25946f14949b50f18b9929183aefe55f6b626f8a618ae53c2220bb
2344+
23402345
sha256_64="$(echo "$release" |
23412346
sed -n "s/$needle1-amd64-$needle2/\1/p")"
23422347
test 64 = $(echo -n "$sha256_64" | wc -c) ||

0 commit comments

Comments
 (0)