Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,19 @@ jobs:
echo "name=${{ github.event.client_payload.tag }}" >> $GITHUB_OUTPUT
fi

- name: Install git-cliff
run: uv tool install git-cliff
- name: Install just
uses: extractions/setup-just@v3

- name: Generate changelog
- name: Get changelog for this version
id: changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG="${{ steps.tag.outputs.name }}"
BODY=$(git-cliff --tag "$TAG" --strip all)
# Extract the curated section for the current version from
# CHANGELOG.md (same task as `just changelog` locally — manual
# edits are the source of truth; the section header goes to
# stderr, only the body is captured).
BODY=$(just changelog)
echo "Changelog body:"
echo "$BODY"
{
echo "body<<EOF"
echo "$BODY"
Expand Down
26 changes: 16 additions & 10 deletions examples/unfold_django_q2/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@
# Exact match: Unfold's default active detection is
# substring-based, which would also light up this
# entry on the pinned group views below.
"active": lambda request: request.path
== reverse("admin:django_admin_runner_registeredcommand_changelist"),
"active": lambda request: (
request.path
== reverse("admin:django_admin_runner_registeredcommand_changelist")
),
"permission": lambda request: request.user.is_staff,
},
{
Expand All @@ -130,10 +132,12 @@
"admin:django_admin_runner_registeredcommand_group",
args=["Maintenance"],
),
"active": lambda request: request.path
== reverse(
"admin:django_admin_runner_registeredcommand_group",
args=["Maintenance"],
"active": lambda request: (
request.path
== reverse(
"admin:django_admin_runner_registeredcommand_group",
args=["Maintenance"],
)
),
"permission": lambda request: request.user.is_staff,
},
Expand All @@ -145,10 +149,12 @@
"admin:django_admin_runner_registeredcommand_group",
args=["Import+Export"],
),
"active": lambda request: request.path
== reverse(
"admin:django_admin_runner_registeredcommand_group",
args=["Import+Export"],
"active": lambda request: (
request.path
== reverse(
"admin:django_admin_runner_registeredcommand_group",
args=["Import+Export"],
)
),
"permission": lambda request: request.user.is_staff,
},
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading