summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-06-22 18:48:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-06-22 20:01:31 +0200
commit43514180101ad6267a7c514ff925af9023b3cd1a (patch)
treed34c305d4767fdeed543e4de11df2617f2a97200
parent6081e79e5b9df5bf8b0d2bdbe5305cbe05c7ba48 (diff)
downloadkde-43514180101ad6267a7c514ff925af9023b3cd1a.tar.gz
kde-43514180101ad6267a7c514ff925af9023b3cd1a.tar.bz2
kde-43514180101ad6267a7c514ff925af9023b3cd1a.zip
Documentation: bump-from-set.sh: Add pkgcheck support
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rwxr-xr-xDocumentation/maintainers/bump-from-set.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/maintainers/bump-from-set.sh b/Documentation/maintainers/bump-from-set.sh
index 3ee29bdc4b0..b849c11dfaa 100755
--- a/Documentation/maintainers/bump-from-set.sh
+++ b/Documentation/maintainers/bump-from-set.sh
@@ -7,6 +7,7 @@
# Optional:
# dev-vcs/git
# app-portage/mgorny-dev-scripts
+# dev-util/pkgcheck
: ${PORTDIR:="$(pwd)"}
@@ -93,4 +94,10 @@ if [[ -d "${PORTDIR}/.git" ]] && hash git 2>/dev/null && hash pkgcommit 2>/dev/n
popd > /dev/null
done
+
+ if hash pkgcheck 2>/dev/null; then
+ pushd "${PORTDIR}" > /dev/null
+ pkgcheck scan --commits
+ popd > /dev/null
+ fi
fi