CloverBootloader/CloverPackage/makeV2
SergeySlice 254822da91 update buildme to create V2.zip
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-11-04 07:37:16 +03:00

17 lines
307 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
#
# alternate build for CloverV2
cd "$(dirname $([ -L $0 ] && readlink $0 || echo $0))"
ROOT="$PWD"
SYMROOT="${ROOT}"/sym
REVISION=$(git describe --tags $(git rev-list --tags --max-count=1))
zip -qr CloverV2-${REVISION}.zip CloverV2
mv CloverV2-${REVISION}.zip $SYMROOT
open sym
exit 0