From a5af270ef161922f3c267a60da40929cf1f08c80 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 9 Aug 2023 23:11:44 +0200 Subject: [PATCH 01/25] test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 42305cab..35839647 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@
## django-napse -... +.... ## Useful commands Unless otherwise specified, all commands are to be run at the root folder of the project. From 75aa23aa2f0aeb73feb9ada19ebfa047d37b8ff1 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 19:46:30 +0200 Subject: [PATCH 02/25] tmp --- .github/workflows/pypi.yml | 14 ++++++++++++++ setup.py | 8 +++++--- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/pypi.yml diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml new file mode 100644 index 00000000..04ef70ad --- /dev/null +++ b/.github/workflows/pypi.yml @@ -0,0 +1,14 @@ +name: Upload django-napse Package + +on: + push: + branches: [ feature/ci ] + +jobs: + test: + steps: + - name: Get latest commit + id: commit + run: | + echo "::set-output name=hash::$(git log -1 --pretty=format:"%H")" + echo "${{ steps.commit.outputs.hash }}" \ No newline at end of file diff --git a/setup.py b/setup.py index a8b97f67..0672112c 100644 --- a/setup.py +++ b/setup.py @@ -1,17 +1,19 @@ from distutils.core import setup +# from setuptools import setup + setup( name="django-napse", # How you named your package folder (MyLib) - packages=["django-napse"], # Chose the same as "name" + packages=["django_napse"], # Chose the same as "name" version="1.4.0", # Start with a small number and increase it with every change you make license="MIT", # Chose a license from here: https://help.github.com/articles/licensing-a-repository description="The heart and brains of the Napse Invest platform.", # Give a short description about your library author="Napse Invest", # Type in your name author_email="napse.invest@gmail.com", # Type in your E-Mail url="https://github.com/napse-invest/django-napse", # Provide either the link to your github or to your website - download_url="https://github.com/napse-invest/django-napse/archive/v_01.tar.gz", # I explain this later on + download_url="https://github.com/napse-invest/django-napse/archive/refs/tags/v1.4.0.tar.gz", keywords=["Investing", "Django", "Trading"], # Keywords that define your package best - install_requires=[ # I get to this in a second + install_requires=[ "django", "django-environ", "django-celery-beat", From a95f41df0338f7158b848f92848259d3e886f805 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 19:49:32 +0200 Subject: [PATCH 03/25] tmp --- .github/workflows/pypi.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 04ef70ad..38ddc166 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -2,13 +2,14 @@ name: Upload django-napse Package on: push: - branches: [ feature/ci ] + branches: [ "feature/ci" ] jobs: test: + name: test + runs-on: ubuntu-latest steps: - name: Get latest commit id: commit run: | - echo "::set-output name=hash::$(git log -1 --pretty=format:"%H")" - echo "${{ steps.commit.outputs.hash }}" \ No newline at end of file + echo: "test" \ No newline at end of file From 243b8aac34dfd1367d50f09a8dcf537589593b09 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 19:50:07 +0200 Subject: [PATCH 04/25] tmp --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 38ddc166..9029e29e 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -12,4 +12,4 @@ jobs: - name: Get latest commit id: commit run: | - echo: "test" \ No newline at end of file + echo "test" \ No newline at end of file From 5437b55db392436fba17d3c1f1fd26475a7d70c4 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 20:08:52 +0200 Subject: [PATCH 05/25] tmp --- .github/workflows/pypi.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 9029e29e..b0d88fbe 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -1,15 +1,19 @@ -name: Upload django-napse Package +name: Pypi on: push: - branches: [ "feature/ci" ] + branches: ["feature/ci"] jobs: - test: - name: test + release: + name: Pypi runs-on: ubuntu-latest steps: - - name: Get latest commit - id: commit - run: | - echo "test" \ No newline at end of file + - name: Checkout + uses: actions/checkout@v3 + with: + persist-credentials: false + + - name: test + run: | + echo "test" \ No newline at end of file From 2132c6a9909ae96445e4ea094eaf78286f48becd Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 20:22:48 +0200 Subject: [PATCH 06/25] tmp --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index b0d88fbe..93c5226d 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -5,7 +5,7 @@ on: branches: ["feature/ci"] jobs: - release: + test: name: Pypi runs-on: ubuntu-latest steps: From df9338e6522c1973000017542a702f064beb0517 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 20:37:43 +0200 Subject: [PATCH 07/25] tmp --- .github/workflows/pypi.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 93c5226d..d173d45d 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -5,15 +5,19 @@ on: branches: ["feature/ci"] jobs: - test: - name: Pypi - runs-on: ubuntu-latest + pypi-release: + name: Pypi release + runs-on: ubuntu-18.04 steps: - - name: Checkout - uses: actions/checkout@v3 - with: - persist-credentials: false + - uses: actions/checkout@master + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: '3.11' - - name: test - run: | - echo "test" \ No newline at end of file + - name: Get latest commit + id: commit + run: | + echo "::set-output name=hash::$(git log -1 --pretty=format:"%H")" + echo "commit: " + echo ${{ steps.commit.outputs.hash }} \ No newline at end of file From 82ca03df0d0be9d6c5909f8adb919d8e1224c565 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 20:40:23 +0200 Subject: [PATCH 08/25] tmp --- .github/workflows/pypi.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index d173d45d..484848fc 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -7,11 +7,11 @@ on: jobs: pypi-release: name: Pypi release - runs-on: ubuntu-18.04 + runs-on: ubuntu-lastest steps: - uses: actions/checkout@master - - name: Set up Python 3.10 - uses: actions/setup-python@v3 + - name: Set up Python 3.11 + uses: actions/setup-python@v4 with: python-version: '3.11' From a465e913204957bac8cb2432b2598f388cbbce7a Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:05:05 +0200 Subject: [PATCH 09/25] tmp --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 484848fc..46e4614f 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -7,7 +7,7 @@ on: jobs: pypi-release: name: Pypi release - runs-on: ubuntu-lastest + runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Set up Python 3.11 From 2c6b03ec1004299f978b0b278417814dcec332e6 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:07:23 +0200 Subject: [PATCH 10/25] tmp --- .github/workflows/pypi.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 46e4614f..d1481fc4 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -18,6 +18,7 @@ jobs: - name: Get latest commit id: commit run: | - echo "::set-output name=hash::$(git log -1 --pretty=format:"%H")" - echo "commit: " - echo ${{ steps.commit.outputs.hash }} \ No newline at end of file + git_hash=$(git rev-parse --short "$GITHUB_SHA") + git_branch=${GITHUB_REF#refs/heads/} + echo "hash: $git_hash" + echo "branch: $git_branch" From 18a8dcdadc15336760dcb74558f1f30cda879412 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:10:57 +0200 Subject: [PATCH 11/25] tmp --- .github/workflows/pypi.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index d1481fc4..df77a209 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -22,3 +22,13 @@ jobs: git_branch=${GITHUB_REF#refs/heads/} echo "hash: $git_hash" echo "branch: $git_branch" + + - name: Set output + id: vars + run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT + - name: Check output + env: + RELEASE_VERSION: ${{ steps.vars.outputs.tag }} + run: | + echo $RELEASE_VERSION + echo ${{ steps.vars.outputs.tag }} From 7403f455fb6721e179b7ff8377c8346882ca6e6f Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:11:20 +0200 Subject: [PATCH 12/25] tmp --- .github/workflows/pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index df77a209..57167699 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -24,8 +24,8 @@ jobs: echo "branch: $git_branch" - name: Set output - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT + id: vars + run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - name: Check output env: RELEASE_VERSION: ${{ steps.vars.outputs.tag }} From bd2a80a884cb0374bd0ff8ed1378b6defc174858 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:23:01 +0200 Subject: [PATCH 13/25] tmp --- .github/workflows/pypi.yml | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 57167699..c75fb5b2 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -15,6 +15,11 @@ jobs: with: python-version: '3.11' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install wheel + - name: Get latest commit id: commit run: | @@ -22,13 +27,20 @@ jobs: git_branch=${GITHUB_REF#refs/heads/} echo "hash: $git_hash" echo "branch: $git_branch" + - name: tag + run: | + LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`) + echo "$LATEST_TAG" + echo "action=$(pypa/gh-action-pypi-publish@release/${LATEST_TAG})" >> GITHUB_ENV + - name: print env + run: | + echo ${{ env.LATEST_TAG }} - - name: Set output - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - - name: Check output - env: - RELEASE_VERSION: ${{ steps.vars.outputs.tag }} + - name: Build a binary wheel run: | - echo $RELEASE_VERSION - echo ${{ steps.vars.outputs.tag }} + python setup.py sdist bdist_wheel + + - name: Publish distribution 📦 to PyPI + uses: pypa/gh-action-pypi-publish@release/${LATEST_TAG} + with: + password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file From 06a133772be1f49944d0320e1f16bc9b2a67502e Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:23:49 +0200 Subject: [PATCH 14/25] tmp --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index c75fb5b2..68afc832 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -41,6 +41,6 @@ jobs: python setup.py sdist bdist_wheel - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@release/${LATEST_TAG} + uses: pypa/gh-action-pypi-publish@release/${{ env.LATEST_TAG }} with: password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file From e77074a999d367893c68eaea96f5a3960c6e4fcb Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:24:28 +0200 Subject: [PATCH 15/25] tmp --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 68afc832..0dfd17d2 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -41,6 +41,6 @@ jobs: python setup.py sdist bdist_wheel - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@release/${{ env.LATEST_TAG }} + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file From 3f025101000b62e65eb1d7036d2cc46f753bafed Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:25:33 +0200 Subject: [PATCH 16/25] tmp --- .github/workflows/pypi.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 0dfd17d2..215911f8 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -9,7 +9,6 @@ jobs: name: Pypi release runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - name: Set up Python 3.11 uses: actions/setup-python@v4 with: From 7007d18685f698f79a2450db7b237aebc7ad652b Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:26:35 +0200 Subject: [PATCH 17/25] tmp --- .github/workflows/pypi.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 215911f8..6f5f3bce 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -19,22 +19,6 @@ jobs: python -m pip install --upgrade pip pip install wheel - - name: Get latest commit - id: commit - run: | - git_hash=$(git rev-parse --short "$GITHUB_SHA") - git_branch=${GITHUB_REF#refs/heads/} - echo "hash: $git_hash" - echo "branch: $git_branch" - - name: tag - run: | - LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`) - echo "$LATEST_TAG" - echo "action=$(pypa/gh-action-pypi-publish@release/${LATEST_TAG})" >> GITHUB_ENV - - name: print env - run: | - echo ${{ env.LATEST_TAG }} - - name: Build a binary wheel run: | python setup.py sdist bdist_wheel From 8aa0308c01723d5ac052a673cd667f6374771617 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:30:06 +0200 Subject: [PATCH 18/25] tmp --- .github/workflows/pypi.yml | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 6f5f3bce..95110dbe 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -8,22 +8,11 @@ jobs: pypi-release: name: Pypi release runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/djang-napse + permissions: + id-token: write steps: - - name: Set up Python 3.11 - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install wheel - - - name: Build a binary wheel - run: | - python setup.py sdist bdist_wheel - - - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file From 24193aa11f402d77f6355a49f744f1a456cbe385 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:33:30 +0200 Subject: [PATCH 19/25] tmp --- .github/workflows/pypi.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 95110dbe..9f7bd06c 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -13,6 +13,22 @@ jobs: url: https://pypi.org/p/djang-napse permissions: id-token: write + steps: + + - name: Setup python + uses: actions/setup-python@v4 + with: + python-version: 3.11 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + + - name: Build package + run: | + python setup.py sdist + - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file From 483f10852962f48ae33e333f9638da14e7412458 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:39:24 +0200 Subject: [PATCH 20/25] tmp --- .github/workflows/pypi.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 9f7bd06c..916099b3 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -15,20 +15,28 @@ jobs: id-token: write steps: + - uses: actions/checkout@v3 - name: Setup python uses: actions/setup-python@v4 with: python-version: 3.11 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - - - name: Build package - run: | - python setup.py sdist + - name: Install pypa/build + run: >- + python3 -m + pip install + build + --user + - name: Build a binary wheel and a source tarball + run: >- + python3 -m + build + --sdist + --wheel + --outdir dist/ - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: custom-dir/ \ No newline at end of file From 3aa77a88cff8b7f87a554ca2c267a6a698345b24 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:40:25 +0200 Subject: [PATCH 21/25] tmp --- .github/workflows/pypi.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 916099b3..710f0aa2 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -37,6 +37,4 @@ jobs: --outdir dist/ - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - packages-dir: custom-dir/ \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file From 03ea28a75de2b2a2bf91b766254b2e2a83d99173 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:43:45 +0200 Subject: [PATCH 22/25] tmp --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 0672112c..85bc4ddf 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,7 @@ version="1.4.0", # Start with a small number and increase it with every change you make license="MIT", # Chose a license from here: https://help.github.com/articles/licensing-a-repository description="The heart and brains of the Napse Invest platform.", # Give a short description about your library + long_description="The heart and brains of the Napse Invest platform.", author="Napse Invest", # Type in your name author_email="napse.invest@gmail.com", # Type in your E-Mail url="https://github.com/napse-invest/django-napse", # Provide either the link to your github or to your website From 8c96a34f7e56bebeae6c4126df01601a42eedb8f Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:52:04 +0200 Subject: [PATCH 23/25] tmp --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 224a7795..85169afd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,3 @@ [metadata] -description-file = README.md \ No newline at end of file +description_file = README.md +long_description_content_type = "text/markdown" \ No newline at end of file From 7d1d01d8873359f64e255d400f12b4fe3bbe8090 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:53:50 +0200 Subject: [PATCH 24/25] tmp --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 85169afd..d03a2880 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,3 @@ [metadata] description_file = README.md -long_description_content_type = "text/markdown" \ No newline at end of file +long_description_content_type = text/markdown \ No newline at end of file From 340dbbe64ab35901c5b5800f2331850b5b7289e5 Mon Sep 17 00:00:00 2001 From: Xenepix38 Date: Wed, 16 Aug 2023 22:58:25 +0200 Subject: [PATCH 25/25] feat(workflow): pypi workflow --- .github/workflows/pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 710f0aa2..15a44f9e 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -1,8 +1,8 @@ name: Pypi on: - push: - branches: ["feature/ci"] + release: + types: [published] jobs: pypi-release: