Skip to content

Commit

Permalink
Simply circle config
Browse files Browse the repository at this point in the history
Clean-up just a little since I only have 1 "build" step.
  • Loading branch information
holtwilkins committed Sep 11, 2017
1 parent a478515 commit 961b1ac
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,34 +61,31 @@ jobs:
<<: *darwin-linux-no-cgo

steps:
- checkout
- restore_cache:
keys:
- dist-{{ .Environment.CIRCLE_SHA1 }}-v1
- run: ./godelw publish bintray --url https://api.bintray.com --subject palantir --repository releases --user "$BINTRAY_USER" --password "$BINTRAY_PASSWORD" --publish --downloads-list bouncer

requires_products: &requires_products
- build

all-tags-filter: &all-tags-filter
filters:
tags:
only: /.*/

workflows:
version: 2
build-publish:
jobs:
- build:
<<: *all-tags-filter
filters:
tags:
only: /.*/
- publish:
requires: *requires_products
requires:
- build
filters:
tags:
only: /^[0-9]+(\.[0-9]+)+(-rc[0-9]+)?(-alpha[0-9]+)?$/
branches:
ignore: /.*/
- changelog:
requires: *requires_products
requires:
- build
filters:
tags:
ignore: /.*/
Expand Down

0 comments on commit 961b1ac

Please sign in to comment.