Skip to content

Require FFmpeg 7.1 in the build system too #1

Require FFmpeg 7.1 in the build system too

Require FFmpeg 7.1 in the build system too #1

Workflow file for this run

name: Update version in meson.build
on:
push:
paths:
- "src/version.h"
jobs:
update-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
VERSION_MAJOR=$(grep BEST_SOURCE_VERSION_MAJOR src/version.h | cut -d " " -f 3)
VERSION_MINOR=$(grep BEST_SOURCE_VERSION_MINOR src/version.h | cut -d " " -f 3)
sed -i -E -e "s/version: '[0-9]+.[0-9]+'/version: '${VERSION_MAJOR}.${VERSION_MINOR}'/" meson.build
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update version in meson.build
file_pattern: meson.build