Skip to content

Commit

Permalink
add django version in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
khasbilegt committed Jan 3, 2024
1 parent 65397bd commit 705325a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Patch templates
run: |
mkdir -p adminsortable2/templates/adminsortable2/edit_inline
DJANGO_VERSIONS=("4.0" "4.1" "4.2")
DJANGO_VERSIONS=("4.0" "4.1" "4.2", "5.0")
for django_version in ${DJANGO_VERSIONS[@]}; do
echo $django_version
curl --silent --output adminsortable2/templates/adminsortable2/edit_inline/stacked-django-$django_version.html https://raw.githubusercontent.com/django/django/stable/$django_version.x/django/contrib/admin/templates/admin/edit_inline/stacked.html
Expand Down

0 comments on commit 705325a

Please sign in to comment.