From 91f5ca3d5ebe58ae5a6ee07099bf5988bbea50be Mon Sep 17 00:00:00 2001 From: pdtfh <149602456+pdtfh@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:12:39 +0100 Subject: [PATCH 1/7] use HTTP/1.1 for git push to swift --- .github/workflows/release.yml | 1 + Cargo.lock | 6 +++--- Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27cbb6ef..3c4dd7b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,6 +97,7 @@ jobs: git config --global user.name "github-actions[bot]" # built binary files are too large for the default buffer git config --global http.postBuffer 157286400 + git config --global http.version HTTP/1.1 git add Cargo.toml git add Cargo.lock git commit -m "Bump crate version to ${{ steps.version.outputs.new_version }}" diff --git a/Cargo.lock b/Cargo.lock index 473ca564..6ec7c6f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5751,7 +5751,7 @@ dependencies = [ [[package]] name = "uniffi-bindgen" -version = "0.0.7" +version = "0.0.6" dependencies = [ "uniffi", ] @@ -6108,11 +6108,11 @@ dependencies = [ [[package]] name = "walletkit" -version = "0.0.7" +version = "0.0.6" [[package]] name = "walletkit-core" -version = "0.0.7" +version = "0.0.6" dependencies = [ "alloy", "alloy-core", diff --git a/Cargo.toml b/Cargo.toml index a3c33749..1fd8f40a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["uniffi-bindgen","walletkit-core", "walletkit"] resolver = "2" [workspace.package] -version = "0.0.7" +version = "0.0.6" license = "MIT" edition = "2021" authors = ["World Contributors"] From 0c5f1b96d65ff5a89b11afdea862297ce5a851ff Mon Sep 17 00:00:00 2001 From: pdtfh <149602456+pdtfh@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:51:06 +0100 Subject: [PATCH 2/7] fix III --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c4dd7b8..fb36f3b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,9 +95,6 @@ jobs: run: | git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" - # built binary files are too large for the default buffer - git config --global http.postBuffer 157286400 - git config --global http.version HTTP/1.1 git add Cargo.toml git add Cargo.lock git commit -m "Bump crate version to ${{ steps.version.outputs.new_version }}" @@ -163,6 +160,8 @@ jobs: cd target-repo git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" + # built binary files are too large for the default buffer + git config --global http.postBuffer 157286400 git add . git commit -m "Release ${{ needs.update-cargo-version.outputs.new_version }}" From e5efdf94cf04b853c0dfaca62a4e80817890eb31 Mon Sep 17 00:00:00 2001 From: pdtfh <149602456+pdtfh@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:51:49 +0100 Subject: [PATCH 3/7] use from main --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ec7c6f5..45c5b064 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5751,7 +5751,7 @@ dependencies = [ [[package]] name = "uniffi-bindgen" -version = "0.0.6" +version = "0.0.9" dependencies = [ "uniffi", ] @@ -6108,11 +6108,11 @@ dependencies = [ [[package]] name = "walletkit" -version = "0.0.6" +version = "0.0.9" [[package]] name = "walletkit-core" -version = "0.0.6" +version = "0.0.9" dependencies = [ "alloy", "alloy-core", diff --git a/Cargo.toml b/Cargo.toml index 1fd8f40a..eea1a7c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["uniffi-bindgen","walletkit-core", "walletkit"] resolver = "2" [workspace.package] -version = "0.0.6" +version = "0.0.9" license = "MIT" edition = "2021" authors = ["World Contributors"] From 840ab931e85d7bfdd2b533a457e6b0e8a55e15bb Mon Sep 17 00:00:00 2001 From: pdtfh <149602456+pdtfh@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:05:33 +0100 Subject: [PATCH 4/7] use git lfs --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb36f3b4..7129cc3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -160,8 +160,11 @@ jobs: cd target-repo git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" - # built binary files are too large for the default buffer - git config --global http.postBuffer 157286400 + + # Initialize Git LFS and track the large files + git lfs install + git lfs track "*.xcframework" + git add . git commit -m "Release ${{ needs.update-cargo-version.outputs.new_version }}" From 14c30b963d0c0056fdaaae5ef0d53ce0c0062c17 Mon Sep 17 00:00:00 2001 From: pdtfh <149602456+pdtfh@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:20:02 +0100 Subject: [PATCH 5/7] Update release.yml --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7129cc3d..40c4dec8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -163,7 +163,9 @@ jobs: # Initialize Git LFS and track the large files git lfs install - git lfs track "*.xcframework" + git lfs track "*.a" + + git status git add . git commit -m "Release ${{ needs.update-cargo-version.outputs.new_version }}" From 81804478de41b43811245a41fa6275d7047d7ab3 Mon Sep 17 00:00:00 2001 From: pdtfh <149602456+pdtfh@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:53:32 +0100 Subject: [PATCH 6/7] clean up --- .github/workflows/release.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40c4dec8..721d0684 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -165,8 +165,6 @@ jobs: git lfs install git lfs track "*.a" - git status - git add . git commit -m "Release ${{ needs.update-cargo-version.outputs.new_version }}" From 663ca52d34a9cdbc785ea531d8f839107a5ddd39 Mon Sep 17 00:00:00 2001 From: pdtfh <149602456+pdtfh@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:55:51 +0100 Subject: [PATCH 7/7] don't change the crate --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 45c5b064..d2c5cc05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5751,7 +5751,7 @@ dependencies = [ [[package]] name = "uniffi-bindgen" -version = "0.0.9" +version = "0.0.11" dependencies = [ "uniffi", ] @@ -6108,11 +6108,11 @@ dependencies = [ [[package]] name = "walletkit" -version = "0.0.9" +version = "0.0.11" [[package]] name = "walletkit-core" -version = "0.0.9" +version = "0.0.11" dependencies = [ "alloy", "alloy-core", diff --git a/Cargo.toml b/Cargo.toml index eea1a7c1..d26ce9c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["uniffi-bindgen","walletkit-core", "walletkit"] resolver = "2" [workspace.package] -version = "0.0.9" +version = "0.0.11" license = "MIT" edition = "2021" authors = ["World Contributors"]