From ffe4c38aa5548799325b985c05d1c86ee32c1bff Mon Sep 17 00:00:00 2001 From: Eric <132873174+eric-epsilla@users.noreply.github.com> Date: Sat, 2 Dec 2023 10:37:23 +0800 Subject: [PATCH 01/10] Update pypi-dev.yaml --- .github/workflows/pypi-dev.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi-dev.yaml b/.github/workflows/pypi-dev.yaml index f37e3aa..9a22780 100644 --- a/.github/workflows/pypi-dev.yaml +++ b/.github/workflows/pypi-dev.yaml @@ -21,12 +21,16 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Get version defined + id: version + run: echo "::set-output name=version::$(cat ./pyepsilla/vectordb/version.py |awk -F'"' '{print $(NF-1)}')" + - name: Bump version and push tag id: tag_version uses: mathieudutour/github-tag-action@v6.1 with: github_token: ${{ secrets.PAT_TOKEN }} - tag_prefix: "" + custom_tag: ${{ steps.version.outputs.version }}; dry_run: true - name: Set up Python From 721e92c15642076e640f23910709eb00e6723373 Mon Sep 17 00:00:00 2001 From: Eric <132873174+eric-epsilla@users.noreply.github.com> Date: Sat, 2 Dec 2023 10:39:33 +0800 Subject: [PATCH 02/10] Update pypi-dev.yaml --- .github/workflows/pypi-dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-dev.yaml b/.github/workflows/pypi-dev.yaml index 9a22780..e474fde 100644 --- a/.github/workflows/pypi-dev.yaml +++ b/.github/workflows/pypi-dev.yaml @@ -40,7 +40,7 @@ jobs: - name: Install dependencies run: | - echo "new tag: " ${{ steps.tag_version.outputs.new_tag }} "," ${{ steps.tag_version.outputs.new_version }} + echo "new tag: ${{ steps.tag_version.outputs.new_tag }} ,${{ steps.tag_version.outputs.new_version }} " pip install -r requirements.txt python -m pip install --upgrade pip twine build python -m build --sdist --wheel --outdir dist/ . From 884ce48d3c7d0518aaecf48a50dfdc4cb1074cb0 Mon Sep 17 00:00:00 2001 From: Eric <132873174+eric-epsilla@users.noreply.github.com> Date: Sat, 2 Dec 2023 17:06:57 +0800 Subject: [PATCH 03/10] Update pypi-dev.yaml --- .github/workflows/pypi-dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-dev.yaml b/.github/workflows/pypi-dev.yaml index e474fde..bfaba53 100644 --- a/.github/workflows/pypi-dev.yaml +++ b/.github/workflows/pypi-dev.yaml @@ -31,7 +31,7 @@ jobs: with: github_token: ${{ secrets.PAT_TOKEN }} custom_tag: ${{ steps.version.outputs.version }}; - dry_run: true + dry_run: false - name: Set up Python uses: actions/setup-python@v3 From 01f846e13df0164c420c86c279a929878b02e023 Mon Sep 17 00:00:00 2001 From: Eric <132873174+eric-epsilla@users.noreply.github.com> Date: Sat, 2 Dec 2023 17:09:45 +0800 Subject: [PATCH 04/10] Update pypi-dev.yaml --- .github/workflows/pypi-dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-dev.yaml b/.github/workflows/pypi-dev.yaml index bfaba53..c952657 100644 --- a/.github/workflows/pypi-dev.yaml +++ b/.github/workflows/pypi-dev.yaml @@ -30,7 +30,7 @@ jobs: uses: mathieudutour/github-tag-action@v6.1 with: github_token: ${{ secrets.PAT_TOKEN }} - custom_tag: ${{ steps.version.outputs.version }}; + custom_tag: ${{ steps.version.outputs.version }} dry_run: false - name: Set up Python From fdfd5f54bae7dfd9efa99426ad3e79f99e300b76 Mon Sep 17 00:00:00 2001 From: Eric <132873174+eric-epsilla@users.noreply.github.com> Date: Sat, 2 Dec 2023 17:12:13 +0800 Subject: [PATCH 05/10] Update pypi-dev.yaml --- .github/workflows/pypi-dev.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pypi-dev.yaml b/.github/workflows/pypi-dev.yaml index c952657..cfb0749 100644 --- a/.github/workflows/pypi-dev.yaml +++ b/.github/workflows/pypi-dev.yaml @@ -30,6 +30,7 @@ jobs: uses: mathieudutour/github-tag-action@v6.1 with: github_token: ${{ secrets.PAT_TOKEN }} + tag_prefix: "" custom_tag: ${{ steps.version.outputs.version }} dry_run: false From d880a0b584c597e8864af6d49c0c4124244a79cf Mon Sep 17 00:00:00 2001 From: Eric <132873174+eric-epsilla@users.noreply.github.com> Date: Sat, 2 Dec 2023 17:14:44 +0800 Subject: [PATCH 06/10] Update pypi-dev.yaml --- .github/workflows/pypi-dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-dev.yaml b/.github/workflows/pypi-dev.yaml index cfb0749..dd41c72 100644 --- a/.github/workflows/pypi-dev.yaml +++ b/.github/workflows/pypi-dev.yaml @@ -41,7 +41,7 @@ jobs: - name: Install dependencies run: | - echo "new tag: ${{ steps.tag_version.outputs.new_tag }} ,${{ steps.tag_version.outputs.new_version }} " + echo "!!!new tag: ${{ steps.tag_version.outputs.new_tag }} ,${{ steps.tag_version.outputs.new_version }} " pip install -r requirements.txt python -m pip install --upgrade pip twine build python -m build --sdist --wheel --outdir dist/ . From 1be5f2441f61c8a0323f833315db92cce9090814 Mon Sep 17 00:00:00 2001 From: Eric <132873174+eric-epsilla@users.noreply.github.com> Date: Sat, 2 Dec 2023 17:18:00 +0800 Subject: [PATCH 07/10] Update pypi-publish.yml --- .github/workflows/pypi-publish.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 4bcdf84..92a5fe8 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -20,21 +20,29 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Get version defined + id: version + run: echo "::set-output name=version::$(cat ./pyepsilla/vectordb/version.py |awk -F'"' '{print $(NF-1)}')" + - name: Bump version and push tag id: tag_version uses: mathieudutour/github-tag-action@v6.1 with: github_token: ${{ secrets.PAT_TOKEN }} - tag_prefix: "" - dry_run: false + tag_prefix: "" + custom_tag: ${{ steps.version.outputs.version }} + dry_run: false + - name: Set up Python uses: actions/setup-python@v3 with: python-version: '3.x' + - name: Install dependencies run: | python -m pip install --upgrade pip twine pip install build + - name: Build package run: python -m build --sdist --wheel --outdir dist/ . - name: Publish distribution to PyPI From 47fcc5fb5d4ca882c6c17f669f1480c520450dbe Mon Sep 17 00:00:00 2001 From: Eric <132873174+eric-epsilla@users.noreply.github.com> Date: Sat, 2 Dec 2023 17:19:14 +0800 Subject: [PATCH 08/10] Update version.py --- pyepsilla/vectordb/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyepsilla/vectordb/version.py b/pyepsilla/vectordb/version.py index 9eb734d..43a0e4e 100644 --- a/pyepsilla/vectordb/version.py +++ b/pyepsilla/vectordb/version.py @@ -1 +1 @@ -__version__ = "0.1.23" +__version__ = "0.1.25" From 0631ec8659e719c95cf36f5dbfcc7a86588b1ab3 Mon Sep 17 00:00:00 2001 From: Eric <132873174+eric-epsilla@users.noreply.github.com> Date: Sat, 2 Dec 2023 17:22:59 +0800 Subject: [PATCH 09/10] Update pypi-dev.yaml --- .github/workflows/pypi-dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-dev.yaml b/.github/workflows/pypi-dev.yaml index dd41c72..695c7fd 100644 --- a/.github/workflows/pypi-dev.yaml +++ b/.github/workflows/pypi-dev.yaml @@ -32,7 +32,7 @@ jobs: github_token: ${{ secrets.PAT_TOKEN }} tag_prefix: "" custom_tag: ${{ steps.version.outputs.version }} - dry_run: false + dry_run: true - name: Set up Python uses: actions/setup-python@v3 From 084eaae7fe27577c9a82bf20711f56d71ceba6ca Mon Sep 17 00:00:00 2001 From: Eric <132873174+eric-epsilla@users.noreply.github.com> Date: Sat, 2 Dec 2023 17:24:45 +0800 Subject: [PATCH 10/10] Update version.py --- pyepsilla/vectordb/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyepsilla/vectordb/version.py b/pyepsilla/vectordb/version.py index 3ced358..b5fdc75 100644 --- a/pyepsilla/vectordb/version.py +++ b/pyepsilla/vectordb/version.py @@ -1 +1 @@ -__version__ = "0.2.1" +__version__ = "0.2.2"