From 109827ffe2135dc6d331929bab1dba736214a3fd Mon Sep 17 00:00:00 2001 From: Vaughn Kottler Date: Sat, 15 Jul 2023 14:12:51 -0500 Subject: [PATCH] Add release to CI --- .github/workflows/python-package.yml | 12 +++++++++++- config | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index dba44a0..96143cf 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -9,6 +9,7 @@ on: env: TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}} + GITHUB_API_TOKEN: ${{secrets.API_TOKEN}} jobs: build: @@ -57,7 +58,16 @@ jobs: env: TWINE_USERNAME: __token__ if: | - matrix.python-version == '3.8' + matrix.python-version == '3.11' && matrix.system == 'ubuntu-latest' && env.TWINE_PASSWORD != '' && github.ref_name == 'master' + + - run: | + mk python-release owner=vkottler \ + repo=datazen version=3.1.2 + if: | + matrix.python-version == '3.11' + && matrix.system == 'ubuntu-latest' + && env.GITHUB_API_TOKEN != '' + && github.ref_name == 'master' diff --git a/config b/config index f145c31..bf989e4 160000 --- a/config +++ b/config @@ -1 +1 @@ -Subproject commit f145c31a445604471b11aea3bd23f40df942a04e +Subproject commit bf989e4a72955c6d5f4a71f0cddface943f7f86b