Skip to content

Commit

Permalink
build: fix tag filters for deployments (#2252)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts authored Nov 13, 2019
1 parent 50243c2 commit ce6ebb3
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ jobs:
- node_modules
# required since `publish-*` jobs have tag filters AND requires `test`
# https://circleci.com/docs/2.0/workflows/#executing-workflows-for-a-git-tag
filters:
tags:
only: /.*/

schematics-core-check:
<<: *run_in_browser
Expand Down Expand Up @@ -250,13 +247,19 @@ workflows:
version: 2
build-test-deploy:
jobs:
- install
- install:
filters:
tags:
only: /.*/
- lint:
requires:
- install
- test:
requires:
- install
filters:
tags:
only: /.*/
- example-tests:
requires:
- install
Expand Down Expand Up @@ -296,22 +299,22 @@ workflows:
- test
filters:
tags:
only: /8\.\d+\.\d+(?!-\w+\.\d)/
only: /9\.\d+\.\d+(?!-\w+\.\d)/
branches:
ignore: /.*/
- deploy-docs-stable:
requires:
- test
filters:
tags:
only: /8\.\d+\.\d+(?!-\w+\.\d)/
only: /9\.\d+\.\d+(?!-\w+\.\d)/
branches:
ignore: /.*/
- publish-next:
requires:
- test
filters:
tags:
only: /8\.\d+\.\d+(-\w+\.\d)/
only: /9\.\d+\.\d+(-\w+\.\d)/
branches:
ignore: /.*/

0 comments on commit ce6ebb3

Please sign in to comment.