simplify logic in shippable.yml
This commit is contained in:
+1
-2
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user