From 7ba4f3e1b968d5e353649551d546432c4f9e2fa3 Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Fri, 15 Feb 2019 12:25:49 +0000 Subject: [PATCH 1/3] Enable publishing --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 74ed4dd4..fff86a8a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,6 +35,8 @@ jobs: - image: "python:3.4-stretch" steps: - attach_workspace: { at: . } + - run: ./scripts/circle/pypi.sh + workflows: version: 2 @@ -47,7 +49,7 @@ workflows: tags: only: /[0-9]+(\.[0-9]+)+((-(beta|rc)[0-9]{1,2})(\.[0-9])?)?/ branches: - ignore: /.*/ + only: develop requires: - python2-test - python3-test From acc253e2394e22d641f97b721ba0fdd7bcf9655e Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Fri, 15 Feb 2019 12:30:42 +0000 Subject: [PATCH 2/3] Enable publishing --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fff86a8a..d864cb1b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,7 +34,7 @@ jobs: docker: - image: "python:3.4-stretch" steps: - - attach_workspace: { at: . } + - checkout - run: ./scripts/circle/pypi.sh @@ -49,7 +49,7 @@ workflows: tags: only: /[0-9]+(\.[0-9]+)+((-(beta|rc)[0-9]{1,2})(\.[0-9])?)?/ branches: - only: develop + ignore: /.*/ requires: - python2-test - python3-test From a416fd7926b8e34c391eb04779219e8f55443f20 Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Fri, 15 Feb 2019 12:33:58 +0000 Subject: [PATCH 3/3] Fix publishing --- .circleci/config.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d864cb1b..2ba4deff 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,14 +42,16 @@ workflows: version: 2 build: jobs: - - python2-test - - python3-test + - python2-test: + filters: { tags: { only: /.*/ } } + - python3-test: + filters: { tags: { only: /.*/ } } - publish: filters: tags: only: /[0-9]+(\.[0-9]+)+((-(beta|rc)[0-9]{1,2})(\.[0-9])?)?/ branches: - ignore: /.*/ + only: develop requires: - python2-test - python3-test