Skip to content

Commit f11ce6a

Browse files
Merge pull request #484 from RunanywhereAI/smonga/release-v0.19.8
chore(release): v0.19.8 + fix auto-tag workflow
2 parents 5cfcbdf + 6defcd4 commit f11ce6a

18 files changed

Lines changed: 40 additions & 24 deletions

File tree

.github/workflows/auto-tag.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,22 +124,34 @@ jobs:
124124
git config user.name "github-actions[bot]"
125125
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
126126
127-
- name: Commit version bump + push tag
127+
- name: Verify release PR contained version bump
128128
if: steps.label.outputs.should-release == 'true'
129129
env:
130130
NEW_VERSION: ${{ steps.version.outputs.new-version }}
131-
BUMP: ${{ steps.label.outputs.bump }}
132-
PR_NUMBER: ${{ github.event.pull_request.number }}
133131
run: |
134132
set -euo pipefail
133+
# Main's branch protection requires all changes via PR — the workflow
134+
# cannot push a version-bump commit. The release PR MUST already
135+
# contain the sync-versions.sh output (run it locally before opening
136+
# the PR). sync-versions.sh is re-run above as a sanity check; if it
137+
# produced diff, the PR was missing the bump.
135138
git add -u
136-
if git diff --cached --quiet; then
137-
echo "No manifest changes from sync-versions.sh — unexpected; aborting"
139+
if ! git diff --cached --quiet; then
140+
echo "::error::PR merged with release:${{ steps.label.outputs.bump }} label but VERSIONS/manifests are out of sync with tag v${NEW_VERSION}."
141+
echo "::error::Before opening a release PR, run: scripts/sync-versions.sh ${NEW_VERSION} → commit → open PR → merge with release label."
142+
git diff --cached
138143
exit 1
139144
fi
140-
git commit -m "chore: release v${NEW_VERSION} (${BUMP} bump from PR #${PR_NUMBER})"
145+
echo "::notice::Manifests already bumped to v${NEW_VERSION} in the release PR."
146+
147+
- name: Push tag to trigger release.yml
148+
if: steps.label.outputs.should-release == 'true'
149+
env:
150+
NEW_VERSION: ${{ steps.version.outputs.new-version }}
151+
run: |
152+
set -euo pipefail
153+
# Tags are not subject to branch protection, so the workflow token can push them.
141154
git tag "v${NEW_VERSION}"
142-
git push origin main
143155
git push origin "v${NEW_VERSION}"
144156
echo "::notice::Pushed tag v${NEW_VERSION} — release.yml will now build and create a draft release"
145157

.github/workflows/pr-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,11 @@ jobs:
300300
with:
301301
platform: ios
302302
- name: Resolve Swift package
303-
run: swift package resolve
303+
# Non-blocking: Package.swift points to binaries at the bumped version,
304+
# which may not exist yet on a release PR (chicken-and-egg). The
305+
# release.yml workflow will produce them. Swift build below is similarly
306+
# gated.
307+
run: swift package resolve || echo "::warning::swift package resolve failed — binaries at v${PROJECT_VERSION} may not exist yet (ok on release PRs)"
304308
- name: Build Swift package (smoke check)
305309
# Builds with whatever Binaries/ already contains (or fetches remote per Package.swift).
306310
# We don't fail the SDK job if natives aren't present yet — that's a follow-up.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ let useLocalNatives = false // Toggle: true for local dev, false for release
4444

4545
// Version for remote XCFrameworks (used when useLocalNatives = false)
4646
// Updated automatically by CI/CD during releases
47-
let sdkVersion = "0.19.7"
47+
let sdkVersion = "0.19.8"
4848

4949
// MetalRT remote binary availability flag.
5050
// Set to `false` until a real checksum for RABackendMetalRT-v<sdkVersion>.zip

sdk/runanywhere-commons/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.19.7
1+
0.19.8

sdk/runanywhere-commons/VERSIONS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# =============================================================================
1515

1616
# Project version (read from VERSION file, but also defined here for scripts)
17-
PROJECT_VERSION=0.19.7
17+
PROJECT_VERSION=0.19.8
1818

1919
# =============================================================================
2020
# Platform Deployment Targets

sdk/runanywhere-flutter/packages/runanywhere/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: runanywhere
22
description: Privacy-first, on-device AI SDK for Flutter. Run LLMs, STT, TTS, and VAD directly on device with no data leaving the device.
3-
version: 0.19.7
3+
version: 0.19.8
44
homepage: https://runanywhere.ai
55
repository: https://github.com/RunanywhereAI/runanywhere-sdks
66
issue_tracker: https://github.com/RunanywhereAI/runanywhere-sdks/issues

sdk/runanywhere-flutter/packages/runanywhere_genie/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: runanywhere_genie
22
description: Qualcomm Genie NPU backend for RunAnywhere Flutter SDK. On-device LLM inference on Snapdragon NPU.
3-
version: 0.16.0
3+
version: 0.19.8
44
homepage: https://runanywhere.ai
55
repository: https://github.com/RunanywhereAI/runanywhere-sdks
66
issue_tracker: https://github.com/RunanywhereAI/runanywhere-sdks/issues

sdk/runanywhere-flutter/packages/runanywhere_llamacpp/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: runanywhere_llamacpp
22
description: LlamaCpp backend for RunAnywhere Flutter SDK. High-performance on-device LLM text generation with GGUF model support.
3-
version: 0.19.7
3+
version: 0.19.8
44
homepage: https://runanywhere.ai
55
repository: https://github.com/RunanywhereAI/runanywhere-sdks
66
issue_tracker: https://github.com/RunanywhereAI/runanywhere-sdks/issues

sdk/runanywhere-flutter/packages/runanywhere_onnx/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: runanywhere_onnx
22
description: ONNX Runtime backend for RunAnywhere Flutter SDK. On-device Speech-to-Text, Text-to-Speech, and Voice Activity Detection.
3-
version: 0.19.7
3+
version: 0.19.8
44
homepage: https://runanywhere.ai
55
repository: https://github.com/RunanywhereAI/runanywhere-sdks
66
issue_tracker: https://github.com/RunanywhereAI/runanywhere-sdks/issues

sdk/runanywhere-kotlin/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ runanywhere.coreVersion=0.1.4
6060
# Must match a GitHub release tag at: https://github.com/RunanywhereAI/runanywhere-sdks/releases
6161
# Contains: RACommons-android (librac_commons.so, librac_commons_jni.so)
6262
runanywhere.commonsVersion=0.1.4
63-
runanywhere.nativeLibVersion=0.19.7
63+
runanywhere.nativeLibVersion=0.19.8

0 commit comments

Comments
 (0)