-
Notifications
You must be signed in to change notification settings - Fork 1
/
release_notes.sh
executable file
·56 lines (47 loc) · 1.06 KB
/
release_notes.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env bash
set -euo pipefail
MARKETNAME=""
CODENAMES="${DEVICE}"
GH_REPO=""
SE_STATUS="Enforcing"
case "${DEVICE}" in
"yunluo")
MARKETNAME="Redmi Pad"
CODENAMES="yunluo"
GH_REPO="xiaomi-mt6789-devs/android_device_xiaomi_yunluo"
;;
esac
echo "LineageOS ${LINEAGE_VER} for ${MARKETNAME} (${CODENAMES}) ${BUILD_DATE}"
echo "## Changelog"
echo ""
if [ "$INIT" == "true" ]; then
echo "* First build"
else
# Todo: Implement changelog generation
echo "*"
fi
echo ""
echo "## Bugs"
echo ""
echo "No known bugs"
echo ""
echo "## Notes"
echo ""
echo "* SELinux is **${SE_STATUS}**"
echo "* Only LineageOS Recovery is supported"
echo "* Custom kernels are **NOT** supported"
echo "* OTA Updates are suppored"
echo "* [Installation guide](https://gitea.woomy.be/xiaomi-mt6789-devs/releases/wiki/Installation)"
echo ""
echo "## Credits"
echo ""
echo "* [Contributors](https://github.com/${GH_REPO}/contributors)"
echo ""
echo "## Checksums (SHA256)"
pushd "upload" >/dev/null
cat << EOF
\`\`\`
$(sha256sum *)
\`\`\`
EOF
popd >/dev/null