Skip to content

Commit

Permalink
Merge pull request #554 from PacificGilly/jamesgilmore/fix-release-dr…
Browse files Browse the repository at this point in the history
…after

Fix the release-drafter plugin when getting the LATEST_RELEASE
  • Loading branch information
PacificGilly authored Mar 29, 2024
2 parents c4a654b + 0a654c0 commit 5a22e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 5a22e0a

Please sign in to comment.