CloverBootloader/CloverPackage/makeV2

17 lines
307 B
Bash
Executable File
Raw Permalink 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