Skip to content

Commit

Permalink
Also invoke build on all tags
Browse files Browse the repository at this point in the history
  • Loading branch information
holtwilkins committed Sep 11, 2017
1 parent 1c549d8 commit a478515
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,29 @@ jobs:
- 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
- build:
<<: *all-tags-filter
- publish:
requires:
- build
requires: *requires_products
filters:
tags:
only: /^[0-9]+(\.[0-9]+)+(-rc[0-9]+)?(-alpha[0-9]+)?$/
branches:
ignore: /.*/
- changelog:
requires:
- build
requires: *requires_products
filters:
tags:
ignore: /.*/
Expand Down

0 comments on commit a478515

Please sign in to comment.