File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ usage() {
2323 -d, --dry-run Show the offload-build and commitpkg being ran
2424 --import-keys Import PGP keys for packages source verification into the user's keyring
2525 --no-build Don't build PKGBUILD
26+ --nocheck Don't run the check() function in the PKGBUILD
2627 --no-publish Don't run commitpkg after building
2728 --testing Publish towards testing
2829 --staging Publish towards staging
@@ -63,6 +64,7 @@ CONTINUE=0
6364SKIP_BROKEN=0
6465URL=" "
6566OFFLOAD=" "
67+ NOCHECK=" "
6668REPO=" "
6769message=" "
6870filter=(" extra" )
@@ -115,6 +117,9 @@ while ((${#})); do
115117 --no-build)
116118 NO_BUILD=1
117119 ;;
120+ --nocheck)
121+ NOCHECK=" $key "
122+ ;;
118123 --no-publish)
119124 NO_PUBLISH=1
120125 ;;
@@ -200,7 +205,7 @@ if ((DRY)); then
200205 echo " Would rebuild the following packages:"
201206 printf ' %s\n' " ${packages[@]} "
202207 echo " With:"
203- echo " pkgctl build --rebuild $REPO $OFFLOAD "
208+ echo " pkgctl build --rebuild $REPO $OFFLOAD $NOCHECK "
204209 echo " pkgctl release --db-update $REPO -m \" $message \" "
205210 exit 0
206211fi
@@ -246,7 +251,7 @@ for pkg in "${packages[@]}"; do
246251 if ! (( NO_BUILD)) ; then
247252 SKIP_BUILD=0
248253 while true ; do
249- if pkgctl build --rebuild $REPO $OFFLOAD ; then
254+ if pkgctl build --rebuild $REPO $OFFLOAD $NOCHECK ; then
250255 rebuilt_packages+=(" $pkg " )
251256 break
252257 else
You can’t perform that action at this time.
0 commit comments