update buildme to create V2.zip

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2021-11-04 07:37:16 +03:00
parent 50b364ee32
commit 254822da91
4 changed files with 29 additions and 2 deletions

View File

@ -10,6 +10,9 @@ image iso: utils
pkg installer:
@${SRCROOT}/makepkg
zip archive:
@${SRCROOT}/makeV2
slimpkg1:
@${SRCROOT}/makepkg --nothemes

16
CloverPackage/makeV2 Executable file
View File

@ -0,0 +1,16 @@
#!/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

View File

@ -6,8 +6,8 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Clover r5140\n"
"POT-Creation-Date: 2021-09-28 19:01+0300\n"
"Project-Id-Version: Clover r5142\n"
"POT-Creation-Date: 2021-11-02 19:01+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View File

@ -306,6 +306,12 @@ echo "[BUILD ISO]"
make iso
}
makeV2() {
cd "${CLOVERROOT}"/CloverPackage
echo "[BUILD CloverV2]"
make zip
}
checkStatus() {
revision=r$(git describe --tags $(git rev-list --tags --max-count=1))
cd "${CLOVERROOT}"
@ -692,6 +698,7 @@ do
BLC
buildPkg
buildIso
makeV2
break
;;
"make Release")
@ -700,6 +707,7 @@ do
BLC
buildPkg
buildIso
makeV2
break
;;
"test Clover")