From 0a654c065081289201b424dd0592aa13f1a13800 Mon Sep 17 00:00:00 2001 From: James Gilmore Date: Fri, 29 Mar 2024 18:15:00 +0000 Subject: [PATCH] Fix the release-drafter plugin when getting the LATEST_RELEASE --- .github/workflows/pre-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 9703c34f..a98c2f17 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -21,7 +21,7 @@ jobs: - name: Deploy to testpypi.org run: | - LATEST_RELEASE=${curl -s "https://api.github.com/repos/farridav/django-jazzmin/tags" | jq -r '[0].name[1:]'} + LATEST_RELEASE=$(curl -s "https://api.github.com/repos/farridav/django-jazzmin/tags" | jq -r '.[0].name[1:]') poetry version $LATEST_RELEASE poetry version prepatch poetry config repositories.test_pypi https://test.pypi.org/legacy/