From eacf2ee82f7fafd8255b67ee6ae4262716880eb9 Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Thu, 16 May 2019 18:07:32 +0200 Subject: [PATCH] simplify logic in shippable.yml --- shippable.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shippable.yml b/shippable.yml index 46c9311e..1878f4ce 100644 --- a/shippable.yml +++ b/shippable.yml @@ -16,8 +16,7 @@ branches: build: ci: - shipctl put_resource_state branchInfo branch "none"; fi - - if [ "$BRANCH" == "master" ] && [ "$IS_PULL_REQUEST" == false ]; then shipctl put_resource_state branchInfo BRANCH $BRANCH; fi - - if [ "$BRANCH" == "stable" ] && [ "$IS_PULL_REQUEST" == false ]; then shipctl put_resource_state branchInfo BRANCH $BRANCH; fi + - if [ "$IS_PULL_REQUEST" == false ]; then shipctl put_resource_state branchInfo BRANCH $BRANCH; fi # Already defined in alire.git: # resources: