From aa9abde63a30260de7bef9bd51a761edf7e40cee Mon Sep 17 00:00:00 2001 From: snowy Date: Sun, 18 Aug 2024 21:45:59 +0800 Subject: [PATCH] :bookmark: liteyuki 6.3.6 --- .github/workflows/pypi-publish.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 147b28a9..38c84e50 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -20,17 +20,5 @@ jobs: - uses: pdm-project/setup-pdm@v3 - - name: Check version - run: | - current_version=$(pdm show --json | jq -r '.version') - echo "Current version: $current_version" - package_name=$(pdm show --json | jq -r '.name') - last_version=$(curl -s https://pypi.org/pypi/$package_name/json | jq -r '.info.version') - echo "Last version on PyPI: $last_version" - if [ "$current_version" == "$last_version" ]; then - echo "Version has not been updated." - exit 1 - fi - - name: Publish package distributions to PyPI run: pdm publish \ No newline at end of file