diff --git a/circle.yml b/circle.yml index a975cbde9..89f5a8340 100644 --- a/circle.yml +++ b/circle.yml @@ -69,3 +69,15 @@ deployment: (test "${DOCKER_ORGANIZATION:-$DOCKER_USER}" == "weaveworks" || docker tag weaveworks/scope:latest ${DOCKER_ORGANIZATION:-$DOCKER_USER}/scope:latest) && docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/scope ) + release: + branch: release-/[0-9]+\.[0-9]+/ + owner: weaveworks + commands: + - go get github.com/weaveworks/wordepress && cd /home/ubuntu/src/github.com/weaveworks/wordepress && git checkout v1.0.0 && cd cmd/wordepress && go get + - cd $SRCDIR; PRODUCT=scope tools/publish-site "$WP_LIVE_URL" "$WP_LIVE_USER" "$WP_LIVE_PASSWORD" + issues: + branch: /.*/ + owner: weaveworks + commands: + - go get github.com/weaveworks/wordepress && cd /home/ubuntu/src/github.com/weaveworks/wordepress && git checkout v1.0.0 && cd cmd/wordepress && go get + - cd $SRCDIR; PRODUCT=scope tools/publish-site "$WP_DEV_URL" "$WP_DEV_USER" "$WP_DEV_PASSWORD"