summaryrefslogtreecommitdiffstats
path: root/ci/build.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-06-27 19:37:48 -0400
committerDan Radez <dradez@redhat.com>2016-06-27 19:37:48 -0400
commit15772625adb04578ea27aecd40a9612dab492283 (patch)
tree26c33710a2a014a755561d707b678ff476734e95 /ci/build.sh
parent78d76ace2d2137609ada26cc3eda1405a2294f01 (diff)
adding a force-build-rpms check in the commit message
force-build-rpms Change-Id: I70d101b78608414ad5ffb745e6d8a64f59850f61 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'ci/build.sh')
-rwxr-xr-xci/build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/build.sh b/ci/build.sh
index dd9f9fd1..fd079c91 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -113,7 +113,9 @@ fi
# Conditionally execute RPM build checks if the specs change and target is not rpm or iso
if [[ "$MAKE_TARGETS" == "images" ]]; then
commit_file_list=$(git show --pretty="format:" --name-only)
- if [[ $commit_file_list == *build/Makefile* ]]; then
+ if git show -s | grep "force-build-rpms"; then
+ MAKE_TARGETS+=" rpms"
+ elif [[ $commit_file_list == *build/Makefile* ]]; then
# Makefile forces all rpms to be checked
MAKE_TARGETS+=" rpms-check"
else