Finish build script

Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
This commit is contained in:
Tyler Nijmeh 2021-11-24 15:45:43 -08:00
parent c46e3f6a76
commit bfd4e46976
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
KTweak-MM_*.zip

View File

@ -1,4 +1,8 @@
#!/usr/bin/env bash
TS="$(date +%F_%M-%H-%S)"
TIMESTAMP="$(date +%F_%M-%H-%S)"
HASH="$(git rev-parse HEAD)"
ZIP="KTweak-MM_${TIMESTAMP}_${HASH}.zip"
rm -f KTweak-MM_*.zip
zip -0 -r -ll "$ZIP" META-INF/ customize.sh module.prop service.sh