mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Merge pull request #2009 from ia/stable-tag
Some checks failed
CI / tests (push) Has been cancelled
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / check_c-cpp (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / build (T55) (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / check_python (push) Has been cancelled
CI / check_shell (push) Has been cancelled
CI / check_docs (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
Some checks failed
CI / tests (push) Has been cancelled
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / check_c-cpp (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / build (T55) (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / check_python (push) Has been cancelled
CI / check_shell (push) Has been cancelled
CI / check_docs (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
scripts/deploy.sh: add test for links to stable builds in README
This commit is contained in:
@@ -90,6 +90,20 @@ docs_history()
|
|||||||
return "${ret}"
|
return "${ret}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Check for links to release builds in README.md
|
||||||
|
docs_links()
|
||||||
|
{
|
||||||
|
ver_git="$(git tag -l | sort | grep -e "^v" | grep -v "rc" | tail -1)"
|
||||||
|
md="README.md"
|
||||||
|
ver_md="$(grep -c "${ver_git}" "${md}")"
|
||||||
|
ret=0
|
||||||
|
if [ "${ver_md}" -ne 0 ]; then
|
||||||
|
ret=1
|
||||||
|
echo "Please, update mention & links in ${md} inside Builds section for release builds with version ${ver_git}."
|
||||||
|
fi;
|
||||||
|
return "${ret}"
|
||||||
|
}
|
||||||
|
|
||||||
# source/Makefile:ALL_LANGUAGES & Translations/*.json automagical routine
|
# source/Makefile:ALL_LANGUAGES & Translations/*.json automagical routine
|
||||||
build_langs()
|
build_langs()
|
||||||
{
|
{
|
||||||
@@ -191,7 +205,9 @@ if [ "docs" = "${cmd}" ]; then
|
|||||||
hist="${?}"
|
hist="${?}"
|
||||||
build_langs
|
build_langs
|
||||||
langs="${?}"
|
langs="${?}"
|
||||||
if [ "${readme}" -eq 0 ] && [ "${hist}" -eq 0 ] && [ "${langs}" -eq 0 ]; then
|
docs_links
|
||||||
|
links="${?}"
|
||||||
|
if [ "${readme}" -eq 0 ] && [ "${hist}" -eq 0 ] && [ "${langs}" -eq 0 ] && [ "${links}" -eq 0 ]; then
|
||||||
ret=0
|
ret=0
|
||||||
else
|
else
|
||||||
ret=1
|
ret=1
|
||||||
@@ -218,6 +234,11 @@ if [ "build_langs" = "${cmd}" ]; then
|
|||||||
exit "${?}"
|
exit "${?}"
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
if [ "docs_links" = "${cmd}" ]; then
|
||||||
|
docs_links
|
||||||
|
exit "${?}"
|
||||||
|
fi;
|
||||||
|
|
||||||
if [ "check_style_file" = "${cmd}" ]; then
|
if [ "check_style_file" = "${cmd}" ]; then
|
||||||
check_style_file "${2}"
|
check_style_file "${2}"
|
||||||
exit "${?}"
|
exit "${?}"
|
||||||
|
|||||||
Reference in New Issue
Block a user