You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running "git" "clone" "https://github.com/matrix-org/matrix-rust-sdk" "/home/runner/work/react-native-matrix-sdk/react-native-matrix-sdk/rust_modules/matrix-rust-sdk" "--depth" "1"
Cloning into '/home/runner/work/react-native-matrix-sdk/react-native-matrix-sdk/rust_modules/matrix-rust-sdk'...
Running cd "/home/runner/work/react-native-matrix-sdk/react-native-matrix-sdk/rust_modules/matrix-rust-sdk" && "git" "fetch" "--depth" "1" "origin" "matrix-sdk-ffi/20241008"
From https://github.com/matrix-org/matrix-rust-sdk
* tag matrix-sdk-ffi/20241008 -> FETCH_HEAD
Running cd "/home/runner/work/react-native-matrix-sdk/react-native-matrix-sdk/rust_modules/matrix-rust-sdk" && "git" "checkout" "matrix-sdk-ffi/20241008"
error: pathspec 'matrix-sdk-ffi/20241008' did not match any file(s) known to git
Error: Failed to run command
I think the problem is that for a tag you need to do git fetch --depth 1 origin tag matrix-sdk-ffi/20241008 (not the extra tag not present in the log above). We'll probably have to add something to check if the value supplied in branch is a tag or not and then run the command accordingly.
The text was updated successfully, but these errors were encountered:
Johennes
changed the title
Updating a tag checkout
Updating a tag checkout is broken
Oct 9, 2024
I fear I've broken tag checkouts with #115.
I think the problem is that for a tag you need to do
git fetch --depth 1 origin tag matrix-sdk-ffi/20241008
(not the extratag
not present in the log above). We'll probably have to add something to check if the value supplied inbranch
is a tag or not and then run the command accordingly.The text was updated successfully, but these errors were encountered: