From 1b4153e114ac0a0cd97adf7c8353a635d967868d Mon Sep 17 00:00:00 2001 From: Ruud de Jong Date: Wed, 4 Dec 2024 18:02:39 +0100 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac4fbc5..c346e43 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: run: | response=$(curl -s https://pypi.org/pypi/${{ github.event.repository.name }}/json || echo "{}") latest_version=$(echo $response | jq --raw-output "select(.releases != null) | .releases | keys_unsorted | last") - if [ -z "$latest_previous_version" ]; then + if [ -z "$latest_version" ]; then echo "Package not found on PyPI." latest_version="0.0.0" fi