Skip to content

Commit 215c319

Browse files
committed
fix: publish vss 0.5.19 symbols
1 parent e2234b3 commit 215c319

13 files changed

Lines changed: 23 additions & 21 deletions

File tree

.github/workflows/gradle-publish.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010
inputs:
1111
version:
12-
description: "Version to publish (e.g., v0.1.0)"
12+
description: "Version/tag to publish (e.g., v0.5.19 or 0.5.19)"
1313
required: true
1414

1515
jobs:
@@ -20,9 +20,21 @@ jobs:
2020
packages: write
2121

2222
steps:
23+
- name: Normalize release version
24+
id: version
25+
shell: bash
26+
run: |
27+
VERSION="${{ github.event.inputs.version || github.event.release.tag_name || github.ref_name }}"
28+
TAG="$VERSION"
29+
if [[ "$TAG" != v* ]]; then
30+
TAG="v$TAG"
31+
fi
32+
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
33+
echo "version=${TAG#v}" >> "$GITHUB_OUTPUT"
34+
2335
- uses: actions/checkout@v4
2436
with:
25-
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.event.release.tag_name }}
37+
ref: ${{ steps.version.outputs.tag }}
2638
- name: Set up JDK 17
2739
uses: actions/setup-java@v4
2840
with:
@@ -50,16 +62,6 @@ jobs:
5062
- name: Export Android NDK root
5163
run: echo "ANDROID_NDK_ROOT=${{ steps.setup-ndk.outputs.ndk-path }}" >> "$GITHUB_ENV"
5264

53-
- name: Extract version from input or tag
54-
id: version
55-
shell: bash
56-
run: |
57-
VERSION="${{ inputs.version }}"
58-
if [[ -z "$VERSION" ]]; then
59-
VERSION="$GITHUB_REF_NAME"
60-
fi
61-
echo "version=${VERSION#v}" >> "$GITHUB_OUTPUT"
62-
6365
- name: Generate Android bindings
6466
run: ./build_android.sh
6567

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "vss-rust-client-ffi"
3-
version = "0.5.18"
3+
version = "0.5.19"
44
edition = "2021"
55
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
66

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let tag = "v0.5.18"
7-
let checksum = "92c01c752f505d47e22a8ea7b4b3c6ec47b60a9dd877459d9c628d743ce723bf"
6+
let tag = "v0.5.19"
7+
let checksum = "0fa59810f5b778481e88984cbb6e1676b5d018417cbc3eece3f8614c754913ba"
88
let url = "https://github.com/synonymdev/vss-rust-client-ffi/releases/download/\(tag)/VssRustClientFfi.xcframework.zip"
99

1010
let package = Package(

bindings/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ android.useAndroidX=true
33
android.nonTransitiveRClass=true
44
kotlin.code.style=official
55
# project settings:
6-
version=0.5.18
6+
version=0.5.19

0 commit comments

Comments
 (0)