Skip to content

Commit

Permalink
Add tag filter to all jobs so that they will build. (#3490)
Browse files Browse the repository at this point in the history
  • Loading branch information
themadcreator authored Mar 26, 2019
1 parent 323872d commit 2eba203
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ references:
- build
- dist
- plottable.*
release_tag_filter: &release_tag_filter
tags:
only: /^v[0-9.]+.*/

jobs:
install:
Expand Down Expand Up @@ -110,23 +113,25 @@ workflows:
version: 2
plottable:
jobs:
- install
- install:
filters: *release_tag_filter
- test:
requires: [install]
filters: *release_tag_filter
- demo:
requires: [test]
filters: *release_tag_filter
- dist:
requires: [test]
filters: *release_tag_filter
- publish:
requires: [test, dist]
filters:
tags:
only: /^v[0-9.]+.*/
<<: *release_tag_filter
branches:
ignore: /.*/
- publish-snapshot:
requires: [test, dist]
filters:
branches:
only: develop

2 comments on commit 2eba203

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add tag filter to all jobs so that they will build. (#3490)

Demo: quicktests | fiddle

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add tag filter to all jobs so that they will build. (#3490)

Demo: quicktests | fiddle

Please sign in to comment.