Skip to content

Commit

Permalink
Include circle mac yml
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Morgan <[email protected]>
  • Loading branch information
jmorganca committed Jan 16, 2016
1 parent 0cc6bec commit 9927093
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
11 changes: 11 additions & 0 deletions circle-mac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
machine:
xcode:
version: "7.0"

deployment:
release:
tag: /v.*/
owner: docker
commands:
- github-release upload --user docker --repo toolbox --tag $CIRCLE_TAG --file dist/DockerToolbox.exe --name DockerToolbox-$(echo $CIRCLE_TAG | cut -c2-).exe
- github-release upload --user docker --repo toolbox --tag $CIRCLE_TAG --file dist/DockerToolbox.pkg --name DockerToolbox-$(echo $CIRCLE_TAG | cut -c2-).pkg
18 changes: 0 additions & 18 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,6 @@ machine:
services:
- docker

dependencies:
cache_directories:
- "~/docker"

override:
- if [[ -e ~/docker/windows-installer.tar ]]; then docker load -i ~/docker/windows-installer.tar; fi
- if [[ -e ~/docker/osx-installer.tar ]]; then docker load -i ~/docker/osx-installer.tar; fi
- make
- mkdir -p ~/docker; docker save windows-installer > ~/docker/windows-installer.tar
- mkdir -p ~/docker; docker save osx-installer > ~/docker/osx-installer.tar

test:
post:
- cp dist/* $CIRCLE_ARTIFACTS

deployment:
release:
tag: /v.*/
owner: docker
commands:
- git push --tags -f [email protected]:docker/toolbox-release.git

0 comments on commit 9927093

Please sign in to comment.