From fd4d680e879ee4c32e6ad8043128baa5fbd5ecc6 Mon Sep 17 00:00:00 2001 From: snowy Date: Mon, 19 Aug 2024 00:14:34 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E4=BF=AE=E6=AD=A3=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pypi-publish.yml | 18 ------------------ liteyuki/__init__.py | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 6110e45c..4ede3b5e 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -16,23 +16,5 @@ jobs: - uses: pdm-project/setup-pdm@v3 - - name: Get current version from PyPI - id: get_pypi_version - run: | - PACKAGE_NAME=$(pdm info | grep 'Name:' | awk '{print $2}') - CURRENT_VERSION=$(pdm info | grep 'Version:' | awk '{print $2}') - PYPI_VERSION=$(curl -s https://pypi.org/pypi/$PACKAGE_NAME/json | jq -r '.info.version') - echo "PACKAGE_NAME=$PACKAGE_NAME" >> $GITHUB_ENV - echo "CURRENT_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV - echo "PYPI_VERSION=$PYPI_VERSION" >> $GITHUB_ENV - - - name: Check if versions are different - id: check_versions - run: | - if [ "$CURRENT_VERSION" != "$PYPI_VERSION" ]; then - echo "versions_different=true" >> $GITHUB_ENV - else - echo "versions_different=false" >> $GITHUB_ENV - - name: Publish package distributions to PyPI run: pdm publish diff --git a/liteyuki/__init__.py b/liteyuki/__init__.py index 47c53370..1e7aaa3c 100644 --- a/liteyuki/__init__.py +++ b/liteyuki/__init__.py @@ -34,6 +34,6 @@ __all__ = [ "logger", ] -__version__ = "6.3.6" +__version__ = "6.3.7" # 测试版本号