Skip to content

Commit

Permalink
trigger release on simple numeric tag
Browse files Browse the repository at this point in the history
  • Loading branch information
grs committed Jul 22, 2020
1 parent 6c806f1 commit f1c8e8b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,17 @@ commands:
./cmd/skupper
yaml-templates:
branch_filters: &run_for_all_branches_and_v_prefixed_tags
branch_filters: &run_for_all_branches_and_numeric_tags
filters:
tags:
only: /^v.*/
only: /[0-9].*/

release_filters: &run_for_v_prefixed_tags
release_filters: &run_for_numeric_tags
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
only: /[0-9].*/

release_requires: &release_requires
requires:
Expand All @@ -129,23 +129,23 @@ workflows:
build-workflow:
jobs:
- build-all:
<<: *run_for_all_branches_and_v_prefixed_tags
<<: *run_for_all_branches_and_numeric_tags
- test:
<<: *run_for_all_branches_and_v_prefixed_tags
<<: *run_for_all_branches_and_numeric_tags

- minikube_local_cluster_tests:
<<: *run_for_all_branches_and_v_prefixed_tags
<<: *run_for_all_branches_and_numeric_tags
pre-steps:
- prepare_for_local_cluster_tests
requires:
- test

- publish-github-release-artifacts:
<<: *run_for_v_prefixed_tags
<<: *run_for_numeric_tags
<<: *release_requires

- publish-github-release-images:
<<: *run_for_v_prefixed_tags
<<: *run_for_numeric_tags
<<: *release_requires

- remove_from_registry: # will not run for tags, by default
Expand Down

0 comments on commit f1c8e8b

Please sign in to comment.