From fc5f80232eb8d12918f575462179c648c08dbd86 Mon Sep 17 00:00:00 2001 From: yage Date: Wed, 21 Feb 2024 00:04:45 -0700 Subject: [PATCH] v4.0.2 ===================================================================== - circleci: more trigger fixes; add python build to python test --- .circleci/config.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4254856..52710c3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,6 +30,7 @@ jobs: && pip install . .[test] \ && pytest \ ; + - run: python -m build python-publish: executor: python @@ -37,7 +38,7 @@ jobs: steps: - checkout: path: ~/scwrypts - - python/dist + - run: python -m build - run: pip install twine && twine upload dist/* nodejs-test: @@ -113,15 +114,15 @@ workflows: - python-test: filters: tags: - only: /^v.*$/ + only: /^v\d+\.\d+\.\d+.*$/ branches: - only: /^.*$/ + ignore: /^main$/ - python-publish: requires: [python-test] context: [pypi-yage] filters: tags: - only: /^v.*$/ + only: /^v\d+\.\d+\.\d+.*$/ branches: ignore: /^.*$/ @@ -132,12 +133,12 @@ workflows: tags: only: /^v.*$/ branches: - only: /^.*$/ + ignore: /^main$/ - nodejs-publish: requires: [nodejs-test] context: [npm-wrynegade] filters: tags: - only: /^v.*$/ + only: /^v\d+\.\d+\.\d+.*$/ branches: - ignore: /^.*$/ + ignore: /^main$/