Skip to content

Commit

Permalink
Split out a seperate workflow for untagged builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinoconnor7 committed Oct 13, 2019
1 parent 932b5fa commit 5c0dbcc
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
only-deploy-tags: &only-version-tags
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/

version: 2
jobs:
build:
Expand Down Expand Up @@ -40,15 +47,14 @@ jobs:
workflows:
version: 2
main:
untagged-build:
jobs:
- build
release-build:
jobs:
- build: *only-version-tags
- publish-github-release:
<<: *only-version-tags
requires:
- build
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

0 comments on commit 5c0dbcc

Please sign in to comment.