Skip to content

Commit 270adc1

Browse files
authored
Max/prepare 1.3.7 release (#283)
* Adding logic to listen to release or rust-dependency label * Executed prepare release script * Prepare release script also bumps submodule recursively * Changes to DataTrack proto included * Renamed bundle identifier * Check for null object on teardown * Use default token config
1 parent 4e487a9 commit 270adc1

27 files changed

Lines changed: 8704 additions & 2287 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,26 @@ jobs:
2727
lfs: false
2828
submodules: recursive
2929
fetch-depth: 0
30+
# Decide whether to rebuild the Linux FFI lib.
31+
# Label overrides (PRs only) take priority over submodule diff:
32+
# - `release` → skip rebuild (test against the committed prebuilt .so)
33+
# - `rust-dependency` → force rebuild (escape hatch / explicit opt-in)
34+
# If neither label is set, fall back to diffing client-sdk-rust~ against the base ref.
3035
- name: Check for Rust submodule changes
3136
id: check
37+
env:
38+
PR_LABELS: ${{ toJSON(github.event.pull_request.labels.*.name) }}
3239
run: |
3340
BASE_REF="${{ github.event.pull_request.base.ref || 'main' }}"
34-
if git diff --name-only "origin/$BASE_REF"...HEAD | grep -q "^client-sdk-rust~" ; then
41+
HAS_RELEASE_LABEL=$(echo "$PR_LABELS" | jq -r '(. // []) | any(. == "release")')
42+
HAS_REBUILD_LABEL=$(echo "$PR_LABELS" | jq -r '(. // []) | any(. == "rust-dependency")')
43+
if [ "$HAS_RELEASE_LABEL" = "true" ]; then
44+
echo "'release' label set — skipping rebuild (testing against committed prebuilt lib)"
45+
echo "changed=false" >> $GITHUB_OUTPUT
46+
elif [ "$HAS_REBUILD_LABEL" = "true" ]; then
47+
echo "'rust-dependency' label set — forcing rebuild"
48+
echo "changed=true" >> $GITHUB_OUTPUT
49+
elif git diff --name-only "origin/$BASE_REF"...HEAD | grep -q "^client-sdk-rust~" ; then
3550
echo "Rust submodule has changes — will rebuild"
3651
echo "changed=true" >> $GITHUB_OUTPUT
3752
else
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:e447b3f76b78c20f910daa571207ec4ee4b6d45a2c148ab8e8c657e0e54e773b
3-
size 18995600
2+
oid sha256:33d86561611775e822eab0f761f2fe6842468befe92b56f1b7186ed77d8a393a
3+
size 18759032
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:fa19eb2c8f7330b1e48355bcd1373fc2eebd9e28b70d329b817d86ff0fdb0466
3-
size 520889
2+
oid sha256:50d70e08969c3697f3551e9eac9293c1e50656367250ffcaf282ff61a1fc8dbf
3+
size 520952
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:ec3ff8fcf2f3e2e62040079bce27e23b8272b062a57cb428bdd0726d6dcb70bf
3-
size 10864732
2+
oid sha256:d3f86f5a0df46b8de65d4a199b5b7a891a5a6ca8a509b1e88c3cd14391ebf261
3+
size 10712716
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:6daf8d325ee9f13067c996889bc2306b0e90a1ad6f428972c1ee3f9139bef08c
3-
size 520889
2+
oid sha256:2ac3b51d1a0ec1c59b38af901643fecb021d3b27240c29d2e6bd1cb995599c87
3+
size 520952
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:f7c2b582c004bddf9b3efb867e43d54f33e80fccb3020cdb03ea8e071dbb02ab
3-
size 23649944
2+
oid sha256:0ed0141f8694264f7e6f0e901ab16ad2a8ce63ee2473876ab379138f1dd1fb1e
3+
size 23363968
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:0fff0ffb1b8bbc4eda66bac042a2d68a91eeae974b33b1200162bb513b2bbe01
3-
size 520889
2+
oid sha256:5ed2faf7da0884921345b43376deb647c311181eda9e8090367f04533e697736
3+
size 520952
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:b4d17138b8362b19de0710e277fef9a294abd534bb5da570c6c22d69969fd66b
3-
size 484185448
2+
oid sha256:dbc9f4ec0732d7e3e35df0d55f17ece25ff111c424ada202573193ef9b0c160a
3+
size 484209992
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:802199dcb4f4fa1d3f98841291e52be8977a8bb0a17ab0b551f8bfecbecf88d6
3-
size 486088328
2+
oid sha256:ebeee188f24715d9bc2d47208c6d7e1fca0afdd00da1ed108e9606d92492c42b
3+
size 485868880
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:604180fcf712364211f4b920ab3178e2ce1db8712e8dd67ccd7d8a072e396c0a
3-
size 27183944
2+
oid sha256:3c3665a403837cc82880dc66438bf0f8d088d017da6123fec29ae3b1c4037871
3+
size 26936312

0 commit comments

Comments
 (0)