From 0f04c52443028372ec2ed0fdb58730681d240c7e Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Mon, 6 May 2019 16:18:27 +0300 Subject: [PATCH] CI: let tag '%ci:reset-backlog' will affect PRs too --- .cirrus.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 26f84cb7d..9937d1e7c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -33,6 +33,7 @@ build_task: # If commit message contains line '%ci:reset-backlog', builds will be done # only for current commit. unset CIRRUS_LAST_GREEN_CHANGE + unset CIRRUS_BASE_SHA fi MODIFIED_PACKAGES=$(./scripts/build/ci/determine_git_changes.sh) for package in $MODIFIED_PACKAGES; do @@ -72,6 +73,7 @@ publish_task: upload_to_bintray_script: | if grep -qiP '^\s*%ci:reset-backlog\s*$' <(git log --format="%B" -n 1 "$CIRRUS_CHANGE_IN_REPO"); then unset CIRRUS_LAST_GREEN_CHANGE + unset CIRRUS_BASE_SHA fi MODIFIED_PACKAGES=$(./scripts/build/ci/determine_git_changes.sh) if [ -n "$MODIFIED_PACKAGES" ]; then