summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-09-02 10:34:24 (GMT)
committerPaul Kocialkowski <contact@paulk.fr>2015-09-02 10:34:24 (GMT)
commit074031f81f0fa0992888aad98dfbab90b20c7c66 (patch)
tree7ab817b1a02f5425e23cf8dc9e445832b02848da
parent78c95a170a865edacb18091b5426b988872a4cd7 (diff)
downloadrelease-scripts-074031f81f0fa0992888aad98dfbab90b20c7c66.zip
release-scripts-074031f81f0fa0992888aad98dfbab90b20c7c66.tar.gz
release-scripts-074031f81f0fa0992888aad98dfbab90b20c7c66.tar.bz2
release: sha256 instead of md5 for checksumsHEADmaster
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-xrelease.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/release.sh b/release.sh
index b3dddce..a711d7f 100755
--- a/release.sh
+++ b/release.sh
@@ -117,8 +117,8 @@ release_signatures () {
dir=$( pwd )
cd "$SECURITY"
- rm "security.md5"
- md5sum * > "security.md5"
+ rm "security.sha256"
+ sha256sum * > "security.sha256"
cd "$dir"
}
@@ -142,7 +142,7 @@ release_images () {
dir=$( pwd )
cd "$IMAGES/$device"
- md5sum * > "$device.md5"
+ sha256sum * > "$device.sha256"
cd "$dir"
done
}
@@ -159,7 +159,7 @@ release_sdk () {
dir=$( pwd )
cd "$SDK"
- md5sum * > "sdk.md5"
+ sha256sum * > "sdk.sha256"
cd "$dir"
}
@@ -175,7 +175,7 @@ release_tools () {
dir=$( pwd )
cd "$TOOLS"
- md5sum * > "tools.md5"
+ sha256sum * > "tools.sha256"
cd "$dir"
}
@@ -201,7 +201,7 @@ release_security () {
dir=$( pwd )
cd "$SECURITY"
- md5sum * > "security.md5"
+ sha256sum * > "security.sha256"
cd "$dir"
}
@@ -225,7 +225,7 @@ release_metadata_prebuilt () {
dir=$( pwd )
cd "$REPLICANT_DIR/vendor/replicant/prebuilt/common/apps/"
- md5sum *.apk > "$METADATA/prebuilt.md5"
+ sha256sum *.apk > "$METADATA/prebuilt.sha256"
cd "$dir"
}