Test suite: 64 → 177 tests - MPLS parser: 6 tests (synthetic binary, streams, errors) - CLPI parser: 6 tests (EP map, PTS/SPN math, errors) - H.264: 12 tests (NAL parsing, SPS/PPS, keyframes) - HEVC: 13 tests (VPS/SPS/PPS, IRAP range, codec private) - AC3: 12 tests (syncword, frame extraction) - VC1: 15 tests (BITMAPINFOHEADER, start codes) - DTS: 5, TrueHD: 4, PGS: 4 tests - EBML: 6 tests (size/ID/string/float roundtrips) - UDF: 10 tests (MockSectorReader, filesystem parsing, error paths) - Disc: 8 tests (scan_image, DiscTitle helpers) - Streams: 5 new (meta roundtrip, MkvStream) - NullStream: 4, StdioStream: 2, IsoSectorReader: 2 CI: actions/checkout@v4 → v5 (all workflows) FEATURES.md: created for v0.7.1
37 lines
1021 B
YAML
37 lines
1021 B
YAML
name: Update README version
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
ref: main
|
|
token: ${{ secrets.ORG_DISPATCH_TOKEN }}
|
|
|
|
- name: Update version in README
|
|
run: |
|
|
VERSION="${{ github.event.release.tag_name }}"
|
|
FILE="README.md"
|
|
|
|
# Update cargo dependency version (e.g. "0.2" -> "0.3")
|
|
MAJOR_MINOR="${VERSION#v}"
|
|
MAJOR_MINOR="${MAJOR_MINOR%.*}"
|
|
sed -i "s|libfreemkv = \"[0-9]*\.[0-9]*\"|libfreemkv = \"${MAJOR_MINOR}\"|" "$FILE"
|
|
|
|
- name: Commit and push
|
|
run: |
|
|
VERSION="${{ github.event.release.tag_name }}"
|
|
git config user.name "github-actions[bot]"
|
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
git add README.md
|
|
git diff --cached --quiet || git commit -m "Update to libfreemkv ${VERSION}"
|
|
git push
|