aboutsummaryrefslogtreecommitdiff
path: root/pkgbuild.sh
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-10-26 00:36:01 +0800
committerKunoiSayami <[email protected]>2021-10-26 00:36:01 +0800
commit831a6d7aba503927e2270365a3253a877eae3e14 (patch)
tree6fe99495c4ed991fd4a8ad9368f371a2656cf0ca /pkgbuild.sh
parent98eeddcfb67dd6e75bec4f09d160956c6c912072 (diff)
feat(script): Support auto re-build from specify commit message
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'pkgbuild.sh')
-rwxr-xr-xpkgbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgbuild.sh b/pkgbuild.sh
index 1b44d8b..8f3fc55 100755
--- a/pkgbuild.sh
+++ b/pkgbuild.sh
@@ -53,7 +53,7 @@ if [ $# -gt 0 ] && [ "$1" = "--diff" ]; then
exit 0
fi
-if [ $# -gt 0 ] && [ "$1" = "--all" ]; then
+if [ $# -gt 0 ] && [ "$1" = "--all" ] || [[ $CI_COMMIT_TITLE =~ "fix(repo)" ]]; then
ls $PKGBUILD_DIRECTORY_BASE > "$REPO_DIFF"
else
get_diff_list