From 1fdfbb38c790f043360cf08099164b6a034454ec Mon Sep 17 00:00:00 2001 From: Simon Aronsson Date: Thu, 4 Apr 2019 21:37:59 +0200 Subject: [PATCH] only run publish on version tags --- .circleci/config.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 937cef9..d95e3ca 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,9 +18,14 @@ workflows: requires: - checkout - publishing: - requires: - - testing - - linting + requires: + - testing + - linting + filters: + branches: + ignore: /.*/ + tags: + only: /^v[0-9]+(\.[0-9]+)*$/ jobs: checkout: executor: go