feat: Update CI workflows, add changelog extraction, and enhance README with cookie retrieval methods

This commit is contained in:
bohd4nx
2026-04-14 01:13:45 +03:00
parent ebd45d2991
commit 269551da2f
6 changed files with 41 additions and 7 deletions
+1 -3
View File
@@ -20,9 +20,7 @@ jobs:
with:
python-version: "3.12"
- uses: astral-sh/setup-uv@v8.0.0
- run: uv pip install --system ".[dev]"
- run: pip install ".[dev]"
- run: ruff check . && black --check . --target-version py312 && mypy pyfragment
+9 -1
View File
@@ -100,10 +100,18 @@ jobs:
name: dist
path: dist
- name: Extract latest changelog entry
id: changelog
run: |
body=$(awk '/^## \[/{if(found) exit; found=1; next} found{print}' CHANGELOG.md)
echo "body<<EOF" >> $GITHUB_OUTPUT
echo "$body" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- uses: softprops/action-gh-release@v2.6.1
with:
tag_name: v${{ needs.version-check.outputs.version }}
name: v${{ needs.version-check.outputs.version }}
files: dist/*
generate_release_notes: true
body: ${{ steps.changelog.outputs.body }}
make_latest: true