medfall

A super great game engine
Log | Files | Refs

commit 272fbbaf21691664a891fe18166264dc9d0c4aae
parent ac8cd19bc6421d87f81c6891bfc42e6487d5a569
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Tue Jul  4 22:13:26 +0300

Platform specific files in make_release.sh

Diffstat:
scripts/make_release.sh | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/scripts/make_release.sh b/scripts/make_release.sh @@ -4,12 +4,21 @@ version=$(basename $(pwd)) find . -type f | xargs chmod 644 mkdir release +file_platform() { + if [ "$1" = "medfall.exe" ]; then + echo " windows32" + elif [ "$1" = "medfall" ]; then + echo " linux64" + fi +} + # create manifest for f in $(find * -type f); do sha=$(sha256sum -b "$f" | head -c 64) size=$(stat -c "%s" "$f") + platform=$(file_platform "$f") cp "$f" "release/$sha" - echo "$f $sha $size" >> "release/manifest.txt" + echo "$f $sha $size$platform" >> "release/manifest.txt" done # sign manifest