linphone: fix version extract

This commit is contained in:
linsui 2025-05-24 16:41:43 +08:00
parent 36e91f46af
commit 83f6de7f7c

View file

@ -5066,6 +5066,7 @@ Builds:
rm:
- app/google-services.json
prebuild:
- date=$(git show --format=%ad --no-patch --no-notes)
- pushd $$linphone-sdk$$
- LINPHONE_SDK_VERSION=$(git log --tags --no-walk --before="$date" --pretty="format:%S"
| grep -P '^[\d.]+$' | head -n 1)