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
24 changes: 24 additions & 0 deletions .github/workflows/podspec-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Podspec Version Check

on:
push:
tags:
- "v*"

jobs:
check-version:
name: Podspec matches tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Verify podspec version matches tag
run: |
TAG="${GITHUB_REF_NAME#v}"
PODSPEC=$(grep -E 'spec\.version\s*=' FluidAudio.podspec | sed -E 's/.*"([^"]+)".*/\1/')
echo "Tag version: $TAG"
echo "Podspec version: $PODSPEC"
if [ "$TAG" != "$PODSPEC" ]; then
echo "::error file=FluidAudio.podspec::Podspec version ($PODSPEC) does not match tag ($TAG). Bump spec.version before tagging — consumers pinning by tag read this file."
exit 1
fi
2 changes: 1 addition & 1 deletion FluidAudio.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "FluidAudio"
spec.version = "0.12.2"
spec.version = "0.15.6"
spec.summary = "Speaker diarization, voice-activity-detection and transcription with CoreML"
spec.description = <<-DESC
Fluid Audio is a Swift SDK for fully local, low-latency audio AI on Apple devices,
Expand Down
Loading