Skip to content

Commit

Permalink
remove checksum generation in java bundle (#49)
Browse files Browse the repository at this point in the history
Signed-off-by: Appu Goundan <[email protected]>

Signed-off-by: Appu Goundan <[email protected]>
  • Loading branch information
loosebazooka authored Dec 20, 2022
1 parent 3c2c53a commit d926182
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions java/scripts/sign_and_bundle_release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e

REQUIRED_PROGRAMS=("gpg" "cosign" "jq" "curl" "wget" "md5sum" "sha1sum" "sha256sum" "sha512sum" "jar")
REQUIRED_PROGRAMS=("gpg" "cosign" "jq" "curl" "wget" "jar")

usage() {
echo -e "Usage: $0 \e[4mVERSION\e[0m"
Expand Down Expand Up @@ -79,14 +79,6 @@ main() {
gpg --batch --detach-sign --armor -o "$file.asc" "$file"
done

echo "Generating checksums"
for file in *; do
md5sum "$file" | cut -c -32 | tr -d '\n' > "$file.md5"
sha1sum "$file" | cut -c -40 | tr -d '\n' > "$file.sha1"
sha256sum "$file" | cut -c -64 | tr -d '\n' > "$file.sha256"
sha512sum "$file" | cut -c -128 | tr -d '\n' > "$file.sha512"
done

# create a maven central compatible bundle jar
echo "Creating maven bundle"
POM=$(ls ./*.pom)
Expand Down

0 comments on commit d926182

Please sign in to comment.