simplify logic in shippable.yml

This commit is contained in:
Alejandro R. Mosteo
2019-05-16 18:07:32 +02:00
parent ec1d297653
commit eacf2ee82f
+1 -2
View File
@@ -16,8 +16,7 @@ branches:
build: build:
ci: ci:
- shipctl put_resource_state branchInfo branch "none"; fi - 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 [ "$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
# Already defined in alire.git: # Already defined in alire.git:
# resources: # resources: